Forgot to include the std:: namespace prefix before string.
authorPadraig O'Sullivan <osullivan.padraig@gmail.com>
Sat, 19 Sep 2009 23:53:48 +0000 (19:53 -0400)
committerPadraig O'Sullivan <osullivan.padraig@gmail.com>
Sat, 19 Sep 2009 23:53:48 +0000 (19:53 -0400)
libmemcached/exception.hpp

index 043779a6b8e8620bb43da5201892ea64cd8e655b..665c816fc10b3c69a160cf2936df4d2d5a070b31 100644 (file)
@@ -29,7 +29,7 @@ namespace memcache
 
     Exception(const char *msg, int in_errno)
       : 
-        std::runtime_error(string(msg)), 
+        std::runtime_error(std::string(msg)), 
         _errno(in_errno) {}
 
     virtual ~Exception() throw() {}