Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarDataStream.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/core/StarDataStream.hpp')
-rw-r--r--source/core/StarDataStream.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/core/StarDataStream.hpp b/source/core/StarDataStream.hpp
index abcbff4..d5f9bcb 100644
--- a/source/core/StarDataStream.hpp
+++ b/source/core/StarDataStream.hpp
@@ -6,6 +6,7 @@
namespace Star {
STAR_EXCEPTION(DataStreamException, IOException);
+extern unsigned const CurrentStreamVersion;
// Writes complex types to bytes in a portable big-endian fashion.
class DataStream {
@@ -13,8 +14,6 @@ public:
DataStream();
virtual ~DataStream() = default;
- static unsigned const CurrentStreamVersion = 2;
-
// DataStream defaults to big-endian order for all primitive types
ByteOrder byteOrder() const;
void setByteOrder(ByteOrder byteOrder);