Skip to content

Commit 7b55bb2

Browse files
committed
Merge branch 'master' of https://github.com/SrTobi/RakNet
2 parents 82b6972 + 3d8b3c9 commit 7b55bb2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@ add_subdirectory(Lib)
5353

5454
set(RAKNET_COMMON_LIBS RakNetLibStatic)
5555

56-
if( RAKNET_GENERATE_SAMPLES )
56+
if( RAKNET_ENABLE_SAMPLES )
5757
add_subdirectory(Samples)
5858
endif()

Source/BitStream.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2022,7 +2022,7 @@ namespace RakNet
20222022
}
20232023

20242024
template <class templateType>
2025-
BitStream& operator<<(BitStream& out, templateType& c)
2025+
BitStream& operator<<(BitStream& out, const templateType& c)
20262026
{
20272027
out.Write(c);
20282028
return out;

0 commit comments

Comments
 (0)