Date: Monday, December 19, 2005 @ 16:33:33
Author: marc
Path: /cvsroot/carob/carob/include
Modified: Common.hpp (1.22 -> 1.23)
Added missing throw (CodecException) in signature of UTF8 functions.
------------+
Common.hpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Index: carob/include/Common.hpp
diff -u carob/include/Common.hpp:1.22 carob/include/Common.hpp:1.23
--- carob/include/Common.hpp:1.22 Mon Dec 19 15:06:49 2005
+++ carob/include/Common.hpp Mon Dec 19 16:33:33 2005
@@ -126,9 +126,9 @@
class StaticCodecs
{
public:
- static std::wstring fromUTF8(const std::string& in)
+ static std::wstring fromUTF8(const std::string& in) throw (CodecException)
{ return utf8_codec.decode(in); }
- static std::string toUTF8(const std::wstring& in)
+ static std::string toUTF8(const std::wstring& in) throw (CodecException)
{ return utf8_codec.encode(in); }
private:
static const CarobNS::MBSCodec utf8_codec;
@@ -151,12 +151,12 @@
*/
std::string toString(const std::wstring& in);
-inline std::wstring fromUTF8(const std::string& in)
+inline std::wstring fromUTF8(const std::string& in) throw (CodecException)
{
return StaticCodecs::fromUTF8(in);
}
-inline std::string toUTF8(const std::wstring& in)
+inline std::string toUTF8(const std::wstring& in) throw (CodecException)
{
return StaticCodecs::toUTF8(in);
}
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits