Skip to content

Commit

Permalink
move projVersionMajor to cpp (backport #42158)
Browse files Browse the repository at this point in the history
  • Loading branch information
vcloarec authored and nyalldawson committed Mar 10, 2021
1 parent 70687fa commit fbe1cf8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 4 additions & 0 deletions src/core/qgsprojutils.cpp
Expand Up @@ -309,6 +309,10 @@ QStringList QgsProjUtils::nonAvailableGrids( const QString &projDef )
#endif

#endif
int QgsProjUtils::projVersionMajor()
{
return PROJ_VERSION_MAJOR;
}

QStringList QgsProjUtils::searchPaths()
{
Expand Down
5 changes: 1 addition & 4 deletions src/core/qgsprojutils.h
Expand Up @@ -49,10 +49,7 @@ class CORE_EXPORT QgsProjUtils
/**
* Returns the proj library major version number.
*/
static int projVersionMajor()
{
return PROJ_VERSION_MAJOR;
}
static int projVersionMajor();

/**
* Returns the current list of Proj file search paths.
Expand Down

0 comments on commit fbe1cf8

Please sign in to comment.