diff options
Diffstat (limited to 'src/boolean.cpp')
-rw-r--r-- | src/boolean.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/boolean.cpp b/src/boolean.cpp index 087845a..e0600f2 100644 --- a/src/boolean.cpp +++ b/src/boolean.cpp | |||
@@ -1,5 +1,6 @@ | |||
1 | #include "gats/boolean.h" | 1 | #include "gats/boolean.h" |
2 | 2 | ||
3 | #include <bu/formatter.h> | ||
3 | #include <bu/stream.h> | 4 | #include <bu/stream.h> |
4 | 5 | ||
5 | Gats::Boolean::Boolean() : | 6 | Gats::Boolean::Boolean() : |
@@ -40,3 +41,8 @@ void Gats::Boolean::read( Bu::Stream &rIn, char cType ) | |||
40 | } | 41 | } |
41 | } | 42 | } |
42 | 43 | ||
44 | Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::Boolean &b ) | ||
45 | { | ||
46 | return f << "(bool) " << b.getValue(); | ||
47 | } | ||
48 | |||