We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 82b6972 + 3d8b3c9 commit 7b55bb2Copy full SHA for 7b55bb2
CMakeLists.txt
@@ -53,6 +53,6 @@ add_subdirectory(Lib)
53
54
set(RAKNET_COMMON_LIBS RakNetLibStatic)
55
56
-if( RAKNET_GENERATE_SAMPLES )
+if( RAKNET_ENABLE_SAMPLES )
57
add_subdirectory(Samples)
58
endif()
Source/BitStream.h
@@ -2022,7 +2022,7 @@ namespace RakNet
2022
}
2023
2024
template <class templateType>
2025
- BitStream& operator<<(BitStream& out, templateType& c)
+ BitStream& operator<<(BitStream& out, const templateType& c)
2026
{
2027
out.Write(c);
2028
return out;
0 commit comments