summaryrefslogtreecommitdiff
path: root/src/formatter.h
diff options
context:
space:
mode:
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 }