Skip to content

Commit

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

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

QStringList QgsProjUtils::searchPaths()
{
const QString path( proj_info().searchpath );
Expand Down
5 changes: 1 addition & 4 deletions src/core/qgsprojutils.h
Expand Up @@ -47,10 +47,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 e0489b3

Please sign in to comment.