• R/O
  • SSH
  • HTTPS

hamigaki: 提交


Commit MetaInfo

修訂1760 (tree)
時間2009-12-27 09:23:44
作者hamigaki

Log Message

fixed the dummy message for debug_num_put

Change Summary

差異

--- hamigaki/trunk/hamigaki/debug_facets.hpp (revision 1759)
+++ hamigaki/trunk/hamigaki/debug_facets.hpp (revision 1760)
@@ -1,6 +1,6 @@
11 // debug_facets.hpp: some facets for debugging
22
3-// Copyright Takeshi Mouri 2006, 2007.
3+// Copyright Takeshi Mouri 2006-2009.
44 // Distributed under the Boost Software License, Version 1.0.
55 // (See accompanying file LICENSE_1_0.txt or copy at
66 // http://www.boost.org/LICENSE_1_0.txt)
@@ -187,7 +187,7 @@
187187 static iter_type put_message(iter_type s)
188188 {
189189 const char msg[] = "(debug_num_put)";
190- return std::copy(msg, msg+sizeof(msg), s);
190+ return std::copy(msg, msg+sizeof(msg)-1, s);
191191 }
192192 };
193193
Show on old repository browser