fixed the dummy message for debug_num_put
@@ -1,6 +1,6 @@ | ||
1 | 1 | // debug_facets.hpp: some facets for debugging |
2 | 2 | |
3 | -// Copyright Takeshi Mouri 2006, 2007. | |
3 | +// Copyright Takeshi Mouri 2006-2009. | |
4 | 4 | // Distributed under the Boost Software License, Version 1.0. |
5 | 5 | // (See accompanying file LICENSE_1_0.txt or copy at |
6 | 6 | // http://www.boost.org/LICENSE_1_0.txt) |
@@ -187,7 +187,7 @@ | ||
187 | 187 | static iter_type put_message(iter_type s) |
188 | 188 | { |
189 | 189 | 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); | |
191 | 191 | } |
192 | 192 | }; |
193 | 193 |