Skip to content

Commit 226eb10

Browse files
committed
Add BEGIN_TIER1_NAMESPACE around CUtlBuffer code
This is to help avoid name collisions when static linking. (See 53bff2c) P4:7324330
1 parent 7012a24 commit 226eb10

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/tier1/utlbuffer.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
// memdbgon must be the last include file in a .cpp file!!!
1818
#include "tier0/memdbgon.h"
1919

20+
BEGIN_TIER1_NAMESPACE
2021

2122
//-----------------------------------------------------------------------------
2223
// Character conversions for C strings
@@ -1806,4 +1807,6 @@ double CUtlBuffer::GetDouble()
18061807
double d;
18071808
GET_TYPE( double, d, "%f" );
18081809
return d;
1809-
}
1810+
}
1811+
1812+
END_TIER1_NAMESPACE

0 commit comments

Comments
 (0)