Issue 489 update the port
[zxing.git] / cpp / core / src / zxing / Exception.cpp
index 47143c9..d20b6e3 100644 (file)
@@ -16,7 +16,7 @@ Exception::Exception(const char *msg) :
 }
 
 const char* Exception::what() const throw() {
-  return message;
+  return message.c_str();
 }
 
 Exception::~Exception() throw() {