From: Ingo Ruhnke Date: Sat, 21 Nov 2009 14:33:59 +0000 (+0000) Subject: Added some build rules for miniswig and the wrapper file X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=52c4188cca800f851a6cca4c6921c23d2bfdb1c6;p=supertux.git Added some build rules for miniswig and the wrapper file SVN-Revision: 6078 --- 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