security: Fix SecurityException.what to match the virtual base class.
diff --git a/ndn-cpp/security/security-exception.hpp b/ndn-cpp/security/security-exception.hpp
index 28d87f5..f14948f 100644
--- a/ndn-cpp/security/security-exception.hpp
+++ b/ndn-cpp/security/security-exception.hpp
@@ -22,7 +22,7 @@
     
   std::string Msg() { return errorMessage_; }
 
-  std::string what() { return errorMessage_; }
+  virtual const char* what() const throw() { return errorMessage_.c_str(); }
     
 private:
   const std::string errorMessage_;