From fb1ac6da38be359ce78d95426ea6112f6399db26 Mon Sep 17 00:00:00 2001 From: Stefan Radomski Date: Sun, 13 Jan 2013 18:57:22 +0100 Subject: [PATCH] Reverted last commit --- include/DOM/DOMException.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/DOM/DOMException.hpp b/include/DOM/DOMException.hpp index 7804f589..78702ed1 100644 --- a/include/DOM/DOMException.hpp +++ b/include/DOM/DOMException.hpp @@ -17,7 +17,7 @@ class DOMBadCast : public std::bad_cast { public: DOMBadCast(const char* expectedType) : - message_(std::string("Cannot cast to ") + std::string(expectedType)) + message_(std::string("Cannot cast to ") + expectedType) { } // DOMBadCast