Missing const specifiers
authorScott Cantor <cantor.2@osu.edu>
Sun, 19 Feb 2006 05:33:31 +0000 (05:33 +0000)
committerScott Cantor <cantor.2@osu.edu>
Sun, 19 Feb 2006 05:33:31 +0000 (05:33 +0000)
xmltooling/exceptions.h

index a5d7727..79a06f7 100644 (file)
@@ -29,8 +29,8 @@
 #define DECL_XMLTOOLING_EXCEPTION(type) \\r
     class XMLTOOL_EXCEPTIONAPI(XMLTOOL_API) type : public XMLToolingException { \\r
     public: \\r
-        type(const char* msg) : XMLToolingException(msg) {} \\r
-        type(std::string& msg) : XMLToolingException(msg) {} \\r
+        type(const char* const msg) : XMLToolingException(msg) {} \\r
+        type(const std::string& msg) : XMLToolingException(msg) {} \\r
         virtual ~type() {} \\r
     }\r
 \r