From 0cdbf9ea69482a979e0fde15e75fef3597ab8b07 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Tue, 4 Jan 2011 14:56:49 +0100 Subject: [PATCH] Remove unused methods. --- named_object_list.h | 10 ---------- 1 file changed, 10 deletions(-) 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; } -- 2.39.5