OSDN Git Service
(root)
/
roast
/
roast.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5075af0
)
ostream_base::ostream_base& operator <<(const ::std::string& s) 参照ついてなかったよバグ
author
Myun2
<myun2@nwhite.info>
Fri, 25 Nov 2011 22:12:34 +0000
(07:12 +0900)
committer
Myun2
<myun2@nwhite.info>
Fri, 25 Nov 2011 22:12:34 +0000
(07:12 +0900)
roast/include/roast/stream/base_stream.hpp
patch
|
blob
|
history
diff --git
a/roast/include/roast/stream/base_stream.hpp
b/roast/include/roast/stream/base_stream.hpp
index
f754ad8
..
5043035
100644
(file)
--- a/
roast/include/roast/stream/base_stream.hpp
+++ b/
roast/include/roast/stream/base_stream.hpp
@@
-89,7
+89,7
@@
namespace roast
}
ostream_base& operator <<(const char* str){ outstr(str); return *this; }
- ostream_base& operator <<(const ::std::string s){ outstr(s.c_str()); return *this; }
+ ostream_base& operator <<(const ::std::string
&
s){ outstr(s.c_str()); return *this; }
ostream_base& operator <<(char n){ _outchar(n); return *this; }
ostream_base& operator <<(int n){ outint(n); return *this; }
ostream_base& operator <<(unsigned char n){ _outchar(n); return *this; }