mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 02:21:02 +00:00
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:
committed by
Thomas Krijnen
parent
ecff54c480
commit
222cbe73d3
@@ -63,7 +63,7 @@ public:
|
|||||||
/// Use a negative value to use the system's default precision (should be 6 typically).
|
/// Use a negative value to use the system's default precision (should be 6 typically).
|
||||||
short precision;
|
short precision;
|
||||||
|
|
||||||
static const short DEFAULT_PRECISION = 15;
|
enum { DEFAULT_PRECISION = 15 };
|
||||||
};
|
};
|
||||||
|
|
||||||
class GeometrySerializer : public Serializer {
|
class GeometrySerializer : public Serializer {
|
||||||
|
|||||||
Reference in New Issue
Block a user