From: Arnaud Giersch Date: Tue, 4 Jan 2011 13:56:49 +0000 (+0100) Subject: Remove unused methods. X-Git-Tag: v0.1~210 X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/commitdiff_plain/0cdbf9ea69482a979e0fde15e75fef3597ab8b07?ds=inline;hp=-c Remove unused methods. --- 0cdbf9ea69482a979e0fde15e75fef3597ab8b07 diff --git a/named_object_list.h b/named_object_list.h index 929a0db..94d281e 100644 --- a/named_object_list.h +++ b/named_object_list.h @@ -67,11 +67,6 @@ public: return NULL; } - Base* new_instance(const char* name) const - { - return new_instance(std::string(name)); - } - const std::string& get_name(iterator& it) const { return it->first; } const std::string& get_descr(iterator& it) const { return it->second->description; } @@ -136,11 +131,6 @@ public: return NULL; } - Base* new_instance(const char* name, Arg1 arg1, Arg2 arg2) const - { - return new_instance(std::string(name), arg1, arg2); - } - const std::string& get_name(iterator& it) const { return it->first; } const std::string& get_descr(iterator& it) const { return it->second->description; }