aboutsummaryrefslogtreecommitdiff
path: root/src/boolean.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/boolean.cpp6
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
5Gats::Boolean::Boolean() : 6Gats::Boolean::Boolean() :
@@ -40,3 +41,8 @@ void Gats::Boolean::read( Bu::Stream &rIn, char cType )
40 } 41 }
41} 42}
42 43
44Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::Boolean &b )
45{
46 return f << "(bool) " << b.getValue();
47}
48