X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=libmemcached%2Fexception.hpp;h=665c816fc10b3c69a160cf2936df4d2d5a070b31;hb=e7561db4b56f2e78948710a0f360f65f5703a8e6;hp=0754dff02f6865310fe72f3b68dc1e758958bbf1;hpb=2570410ed06fe7b831a782b2fe56dc7947327408;p=m6w6%2Flibmemcached diff --git a/libmemcached/exception.hpp b/libmemcached/exception.hpp index 0754dff0..665c816f 100644 --- a/libmemcached/exception.hpp +++ b/libmemcached/exception.hpp @@ -14,7 +14,7 @@ #define LIBMEMACHED_EXCEPTION_HPP #include - +#include namespace memcache { @@ -29,7 +29,7 @@ namespace memcache Exception(const char *msg, int in_errno) : - std::runtime_error(msg), + std::runtime_error(std::string(msg)), _errno(in_errno) {} virtual ~Exception() throw() {}