mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-06 07:51:47 +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).
|
||||
short precision;
|
||||
|
||||
static const short DEFAULT_PRECISION = 15;
|
||||
enum { DEFAULT_PRECISION = 15 };
|
||||
};
|
||||
|
||||
class GeometrySerializer : public Serializer {
|
||||
|
||||
Reference in New Issue
Block a user