Skip to content

Commit 30fb9f7

Browse files
Merge pull request #10 from jedbrown/jed/fix-cxx-static-const-member
C++ does not allow static member functions to be const
2 parents f18d34d + 89d9520 commit 30fb9f7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

modulesrc/utils/SpatialdataVersion.i

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,42 +42,42 @@ namespace spatialdata {
4242
* @returns True if source code comes from a release?
4343
*/
4444
static
45-
bool isRelease(void) const;
45+
bool isRelease(void);
4646

4747
/** Get version number.
4848
*
4949
* @returns Version number.
5050
*/
5151
static
52-
const char* version(void) const;
52+
const char* version(void);
5353

5454
/** Get GIT revision.
5555
*
5656
* @returns GIT revision.
5757
*/
5858
static
59-
const char* gitRevision(void) const;
59+
const char* gitRevision(void);
6060

6161
/** Get GIT hash.
6262
*
6363
* @returns GIT hash.
6464
*/
6565
static
66-
const char* gitHash(void) const;
66+
const char* gitHash(void);
6767

6868
/** Get date of GIT revision.
6969
*
7070
* @returns Date of GIT revision.
7171
*/
7272
static
73-
const char* gitDate(void) const;
73+
const char* gitDate(void);
7474

7575
/** Get GIT branch.
7676
*
7777
* @returns GIT branch.
7878
*/
7979
static
80-
const char* gitBranch(void) const;
80+
const char* gitBranch(void);
8181

8282
/** Get Proj.4 version number.
8383
*

0 commit comments

Comments
 (0)