#define LIBMEMACHED_EXCEPTION_HPP
#include <stdexcept>
-
+#include <string>
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() {}