Commit 1a145aa1 authored by Jan Möbius's avatar Jan Möbius

Work around bitset VS2017 and ealrlier compiler bug

parent becfd709
...@@ -39,6 +39,12 @@ ...@@ -39,6 +39,12 @@
* * * *
\*===========================================================================*/ \*===========================================================================*/
// Workaround compiler bug in VS2017 and earlier with colliding Qt operators and bitset
#ifdef _MSC_VER
#if (_MSC_VER <= 1916)
#define QT_NO_FLOAT16_OPERATORS
#endif
#endif
#include "TypesInternal.hh" #include "TypesInternal.hh"
#include "UpdateType.hh" #include "UpdateType.hh"
......
...@@ -84,7 +84,7 @@ class DLLEXPORT UpdateType { ...@@ -84,7 +84,7 @@ class DLLEXPORT UpdateType {
return os << type.type_; return os << type.type_;
} }
protected: private:
UpdateTypeSet type_; UpdateTypeSet type_;
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment