diff options
Diffstat (limited to 'src/fstring.cpp')
-rw-r--r-- | src/fstring.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fstring.cpp b/src/fstring.cpp index f1ddd2c..d278914 100644 --- a/src/fstring.cpp +++ b/src/fstring.cpp | |||
@@ -5,6 +5,9 @@ | |||
5 | * terms of the license contained in the file LICENSE. | 5 | * terms of the license contained in the file LICENSE. |
6 | */ | 6 | */ |
7 | 7 | ||
8 | #define BU_TRACE | ||
9 | #include "bu/trace.h" | ||
10 | |||
8 | #include "fstring.h" | 11 | #include "fstring.h" |
9 | #include "hash.h" | 12 | #include "hash.h" |
10 | 13 | ||
@@ -34,3 +37,8 @@ std::basic_ostream<char>& operator<< (std::basic_ostream<char> &os, const Bu::FS | |||
34 | return os; | 37 | return os; |
35 | } | 38 | } |
36 | 39 | ||
40 | |||
41 | template<> void Bu::__tracer_format<Bu::FString>( const Bu::FString &v ) | ||
42 | { | ||
43 | printf("(%ld)\"%s\"", v.getSize(), v.getStr() ); | ||
44 | } | ||