diff --git a/include/GeographyPoint.hpp b/include/GeographyPoint.hpp index 53a2c17..7a44002 100644 --- a/include/GeographyPoint.hpp +++ b/include/GeographyPoint.hpp @@ -160,7 +160,7 @@ class GeographyPoint { int32_t deserializeFrom(ByteBuffer &message, int32_t offset, bool &wasNull); - static const double NULL_COORDINATE = 360.0; + static const double NULL_COORDINATE; private: double m_longitude; double m_latitude; diff --git a/src/GeographyPoint.cpp b/src/GeographyPoint.cpp index 8c84f56..70a82aa 100644 --- a/src/GeographyPoint.cpp +++ b/src/GeographyPoint.cpp @@ -30,6 +30,7 @@ #include "ByteBuffer.hpp" namespace voltdb { +const double GeographyPoint::NULL_COORDINATE = 360; GeographyPoint::GeographyPoint() : m_longitude(360.0), m_latitude(360.0) {