diff options
| author | Kristian Evers <kristianevers@gmail.com> | 2018-09-11 14:58:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-11 14:58:03 +0200 |
| commit | a617ef8497569bf32a16b04e1a53a0d399386227 (patch) | |
| tree | bb2b25696625fa83668cf4472b1824478617b04f /test/unit/proj_errno_string_test.cpp | |
| parent | a7360890e92ee1b34a1142963a8ae7d0562c386e (diff) | |
| parent | 3da5c306cec8bd3a5e2dd9dee83587a5d0a94dd7 (diff) | |
| download | PROJ-a617ef8497569bf32a16b04e1a53a0d399386227.tar.gz PROJ-a617ef8497569bf32a16b04e1a53a0d399386227.zip | |
Merge pull request #1117 from mwtoews/intel
Modifications for Intel compilers
Diffstat (limited to 'test/unit/proj_errno_string_test.cpp')
| -rw-r--r-- | test/unit/proj_errno_string_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/proj_errno_string_test.cpp b/test/unit/proj_errno_string_test.cpp index 0e4cff7f..92840d34 100644 --- a/test/unit/proj_errno_string_test.cpp +++ b/test/unit/proj_errno_string_test.cpp @@ -43,13 +43,13 @@ TEST(ProjErrnoStringTest, ProjErrnos) { EXPECT_STREQ("invalid projection system error (-1000)", proj_errno_string(-1000)); EXPECT_STREQ("invalid projection system error (-9999)", proj_errno_string(-9999)); // for errnos < -9999, -9999 is always returned - constexpr int min = std::numeric_limits<int>::min(); + const int min = std::numeric_limits<int>::min(); EXPECT_STREQ("invalid projection system error (-9999)",proj_errno_string(min)); EXPECT_STREQ("invalid projection system error (-9999)", proj_errno_string(-10000)); } TEST(ProjErrnoStringTest, SystemErrnos) { - constexpr int max = std::numeric_limits<int>::max(); + const int max = std::numeric_limits<int>::max(); #ifdef HAVE_STRERROR EXPECT_STREQ(strerror(5), proj_errno_string(5)); |
