Use unnamed enum instead of static const member variable for SerializerSettings::DEFAULT_PRECISION in order to fix compilation on GCC & Clang.

This commit is contained in:
Stinkfist0
2017-01-11 19:20:03 +02:00
committed by Thomas Krijnen
parent ecff54c480
commit 222cbe73d3
+1 -1
View File
@@ -63,7 +63,7 @@ public:
/// Use a negative value to use the system's default precision (should be 6 typically).
short precision;
static const short DEFAULT_PRECISION = 15;
enum { DEFAULT_PRECISION = 15 };
};
class GeometrySerializer : public Serializer {