aboutsummaryrefslogtreecommitdiff
path: root/src/integer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/integer.cpp')
-rw-r--r--src/integer.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/integer.cpp b/src/integer.cpp
index ad48eaf..2a713e3 100644
--- a/src/integer.cpp
+++ b/src/integer.cpp
@@ -1,5 +1,7 @@
1#include "gats/integer.h" 1#include "gats/integer.h"
2 2
3#include <bu/formatter.h>
4
3Gats::Integer::Integer() : 5Gats::Integer::Integer() :
4 iVal( 0 ) 6 iVal( 0 )
5{ 7{
@@ -25,3 +27,8 @@ void Gats::Integer::read( Bu::Stream &rIn, char cType )
25 readPackedInt( rIn, iVal ); 27 readPackedInt( rIn, iVal );
26} 28}
27 29
30Bu::Formatter &operator<<( Bu::Formatter &f, const Gats::Integer &i )
31{
32 return f << "(int) " << i.getValue();
33}
34