X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fexception.hpp;h=665c816fc10b3c69a160cf2936df4d2d5a070b31;hb=4effcb18b27e2d84a8b29bc311b5edbee3c004b6;hp=0754dff02f6865310fe72f3b68dc1e758958bbf1;hpb=2570410ed06fe7b831a782b2fe56dc7947327408;p=awesomized%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() {}