]> git.xonotic.org Git - xonotic/netradiant.git/blob - libs/string/pooledstring.cpp
Wrap GtkTreePath
[xonotic/netradiant.git] / libs / string / pooledstring.cpp
1
2 #include "pooledstring.h"
3 #include "generic/static.h"
4
5 #if defined( _DEBUG )
6
7 namespace ExamplePooledString
8 {
9 void testStuff(){
10         PooledString< LazyStatic<StringPool> > a, b;
11         a = "monkey";
12         b = "monkey";
13         a = "";
14 }
15
16 struct Always
17 {
18         Always(){
19                 testStuff();
20         }
21 } always;
22 }
23
24 #endif