aboutsummaryrefslogtreecommitdiff
path: root/src/formatter.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-12-06 04:30:38 +0000
committerMike Buland <eichlan@xagasoft.com>2009-12-06 04:30:38 +0000
commit2408f61837aaaba5590d290008721186ea9f011e (patch)
treea8a2758d83c66d569b9553d94d7bed07d7da40aa /src/formatter.h
parentf2d2308f10ce47a49c5fee12a777d62e4cc9b716 (diff)
downloadlibbu++-2408f61837aaaba5590d290008721186ea9f011e.tar.gz
libbu++-2408f61837aaaba5590d290008721186ea9f011e.tar.bz2
libbu++-2408f61837aaaba5590d290008721186ea9f011e.tar.xz
libbu++-2408f61837aaaba5590d290008721186ea9f011e.zip
Hmmm, this is better, yeah, I don't think it'll effect anyone for now...
Diffstat (limited to 'src/formatter.h')
-rw-r--r--src/formatter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/formatter.h b/src/formatter.h
index 7bf854b..db144eb 100644
--- a/src/formatter.h
+++ b/src/formatter.h
@@ -241,7 +241,7 @@ namespace Bu
241 Formatter &operator<<( Formatter &rOut, bool b ); 241 Formatter &operator<<( Formatter &rOut, bool b );
242 242
243 template<typename type> 243 template<typename type>
244 Formatter &operator<<( Formatter &rOut, type * const &p ) 244 Formatter &operator<<( Formatter &rOut, const type *p )
245 { 245 {
246 return rOut << "0x" << Fmt::hex(sizeof(ptrdiff_t)*2) << (ptrdiff_t)(p); 246 return rOut << "0x" << Fmt::hex(sizeof(ptrdiff_t)*2) << (ptrdiff_t)(p);
247 } 247 }