diff --git a/include/XSLT/impl/xslt_functions.hpp b/include/XSLT/impl/xslt_functions.hpp index f6207181..7d42e309 100644 --- a/include/XSLT/impl/xslt_functions.hpp +++ b/include/XSLT/impl/xslt_functions.hpp @@ -111,6 +111,7 @@ private: { public: UriMapper(const std::map& namespaces) : namespaces_(namespaces) { } + UriMapper(const UriMapper& rhs) : namespaces_(rhs.namespaces_) { } std::string operator()(const std::string& prefix) const { @@ -123,9 +124,9 @@ private: private: const std::map& namespaces_; - UriMapper(const UriMapper&); + bool operator==(const UriMapper&) const; + UriMapper& operator=(const UriMapper&); }; // class UriMapper - }; // class KeyFunction // string format-number(number, string, string?)