diff options
author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-11-21 05:49:21 +0000 |
---|---|---|
committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-11-21 05:49:21 +0000 |
commit | 8612ad3ccfda701376f06eb8c3d125faeaf819fd (patch) | |
tree | 8c4a70e26a85634dc0f2becc0d2aacb9f7c0ae1f /libstdc++-v3/src/debug.cc | |
parent | 882effa158549b407ab1ca633b7ae9953589d266 (diff) | |
download | gcc-8612ad3ccfda701376f06eb8c3d125faeaf819fd.tar.gz |
2003-11-20 Benjamin Kosnik <bkoz@redhat.com>
* include/debug/formatter.h: Use _Tp as template argument.
* src/debug.cc: Same, instantiate std::size_t.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@73792 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/src/debug.cc')
-rw-r--r-- | libstdc++-v3/src/debug.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/src/debug.cc b/libstdc++-v3/src/debug.cc index a00a2508c3e..a78bdec2df3 100644 --- a/libstdc++-v3/src/debug.cc +++ b/libstdc++-v3/src/debug.cc @@ -496,11 +496,11 @@ namespace __gnu_debug abort(); } - template<typename _T> + template<typename _Tp> void _Error_formatter::_M_format_word(char* __buf, int __n __attribute__((__unused__)), - const char* __fmt, _T __s) const + const char* __fmt, _Tp __s) const { #ifdef _GLIBCXX_USE_C99 std::snprintf(__buf, __n, __fmt, __s); @@ -651,7 +651,7 @@ namespace __gnu_debug template void _Error_formatter::_M_format_word(char* __buf, int __n, const char* __fmt, - unsigned int __s) const; + std::size_t __s) const; template void |