Skip to content

Commit

Permalink
[doxygen] make private to fix potential recursive class relationi war…
Browse files Browse the repository at this point in the history
…ning
  • Loading branch information
3nids committed Jan 12, 2023
1 parent a4f17bf commit 6f56059
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/core/numericformats/qgscoordinatenumericformat.cpp
Expand Up @@ -22,7 +22,10 @@
#include <locale>
#include <iomanip>

struct formatter : std::numpunct<wchar_t>
///@cond PRIVATE
typedef std::numpunct<wchar_t> numpunct_wchar_t;

struct formatter : numpunct_wchar_t
{
formatter( QChar thousands, bool showThousands, QChar decimal )
: mThousands( thousands.unicode() )
Expand All @@ -37,7 +40,7 @@ struct formatter : std::numpunct<wchar_t>
wchar_t mDecimal;
bool mShowThousands = true;
};

///@endcond

QgsGeographicCoordinateNumericFormat::QgsGeographicCoordinateNumericFormat()
{
Expand Down
3 changes: 3 additions & 0 deletions src/core/numericformats/qgsfractionnumericformat.cpp
Expand Up @@ -23,6 +23,8 @@
#include <sstream>
#include <iomanip>

///@cond PRIVATE

struct formatter : std::numpunct<wchar_t>
{
formatter( QChar thousands, bool showThousands, QChar decimal )
Expand All @@ -38,6 +40,7 @@ struct formatter : std::numpunct<wchar_t>
wchar_t mDecimal;
bool mShowThousands = true;
};
///@endcond

QgsFractionNumericFormat::QgsFractionNumericFormat()
{
Expand Down

0 comments on commit 6f56059

Please sign in to comment.