Some root interfaces and configuration machinery
[shibboleth/cpp-xmltooling.git] / xmltooling / unicode.h
index 311ffb7..50e78f4 100644 (file)
@@ -94,11 +94,9 @@ namespace xmltooling {
          */\r
         char* release() { char* temp=m_buf; m_buf=NULL; return temp; }\r
 \r
-    private:\r
-        auto_ptr_char(const auto_ptr_char&);\r
-        auto_ptr_char& operator=(const auto_ptr_char&);\r
-        \r
+    private:    \r
         char* m_buf;\r
+    MAKE_NONCOPYABLE(auto_ptr_char);\r
     };\r
 \r
     /**\r
@@ -143,10 +141,8 @@ namespace xmltooling {
         XMLCh* release() { XMLCh* temp=m_buf; m_buf=NULL; return temp; }\r
 \r
     private:\r
-        auto_ptr_XMLCh(const auto_ptr_XMLCh&);\r
-        auto_ptr_XMLCh& operator=(const auto_ptr_XMLCh&);\r
-\r
         XMLCh* m_buf;\r
+    MAKE_NONCOPYABLE(auto_ptr_XMLCh);\r
     };\r
 \r
 };\r