Skip to content
Permalink
Browse files

move projVersionMajor to cpp (backport #42158)

  • Loading branch information
vcloarec authored and nyalldawson committed Mar 10, 2021
1 parent 70687fa commit fbe1cf8cd5edc557dba6fef6ed6876550a89757a
Showing with 5 additions and 4 deletions.
  1. +4 −0 src/core/qgsprojutils.cpp
  2. +1 −4 src/core/qgsprojutils.h
@@ -309,6 +309,10 @@ QStringList QgsProjUtils::nonAvailableGrids( const QString &projDef )
#endif

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

QStringList QgsProjUtils::searchPaths()
{
@@ -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.

0 comments on commit fbe1cf8

Please sign in to comment.