projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix whitespace.
[m6w6/libmemcached]
/
libmemcached
/
exception.hpp
diff --git
a/libmemcached/exception.hpp
b/libmemcached/exception.hpp
index 0754dff02f6865310fe72f3b68dc1e758958bbf1..665c816fc10b3c69a160cf2936df4d2d5a070b31 100644
(file)
--- a/
libmemcached/exception.hpp
+++ b/
libmemcached/exception.hpp
@@
-14,7
+14,7
@@
#define LIBMEMACHED_EXCEPTION_HPP
#include <stdexcept>
#define LIBMEMACHED_EXCEPTION_HPP
#include <stdexcept>
-
+#include <string>
namespace memcache
{
namespace memcache
{
@@
-29,7
+29,7
@@
namespace memcache
Exception(const char *msg, int in_errno)
:
Exception(const char *msg, int in_errno)
:
- std::runtime_error(
msg
),
+ std::runtime_error(
std::string(msg)
),
_errno(in_errno) {}
virtual ~Exception() throw() {}
_errno(in_errno) {}
virtual ~Exception() throw() {}