From a080fcee0a2d7e8f005abb51e750a92d5870e923 Mon Sep 17 00:00:00 2001 From: grumbel Date: Sat, 21 Nov 2009 14:33:59 +0000 Subject: [PATCH] Added some build rules for miniswig and the wrapper file git-svn-id: http://supertux.lethargik.org/svn/supertux/trunk/supertux@6078 837edb03-e0f3-0310-88ca-d4d4e8b29345 --- tools/miniswig/create_docu.hpp | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/tools/miniswig/create_docu.hpp b/tools/miniswig/create_docu.hpp index 0345de44f..d5c60dc3b 100644 --- a/tools/miniswig/create_docu.hpp +++ b/tools/miniswig/create_docu.hpp @@ -11,16 +11,20 @@ public: std::ostream& out; XmlWriter writer; - DocuCreator(std::ostream& _out = std::cout) - : out(_out), writer(out) - { - ind = " "; - } + DocuCreator(std::ostream& _out = std::cout) : + ind(" "), + out(_out), + writer(out) + { } void create_docu(Namespace* ns); void create_class_docu(Class* _class); void create_function_docu(Class* _class, Function* function); std::string get_type(const Type& type); + +private: + DocuCreator(const DocuCreator&); + DocuCreator& operator=(const DocuCreator&); }; #endif -- 2.11.0