summaryrefslogtreecommitdiff
path: root/libstdc++-v3/src
diff options
context:
space:
mode:
Diffstat (limited to 'libstdc++-v3/src')
-rw-r--r--libstdc++-v3/src/codecvt.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/src/codecvt.cc b/libstdc++-v3/src/codecvt.cc
index c5474c6c7a7..032667e3f13 100644
--- a/libstdc++-v3/src/codecvt.cc
+++ b/libstdc++-v3/src/codecvt.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2000 Free Software Foundation, Inc.
+// Copyright (C) 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@@ -181,7 +181,7 @@ namespace std
int
codecvt<wchar_t, char, mbstate_t>::
do_encoding() const throw()
- { return 0; }
+ { return sizeof(wchar_t); }
bool
codecvt<wchar_t, char, mbstate_t>::