From 05a3973107462522b8d3c9c6583c9d50c274b88d Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Fri, 31 Oct 2014 23:57:42 -0400 Subject: [PATCH] CLI - Removed unused ::clear method. --- src/CLI.cpp | 8 -------- src/CLI.h | 1 - 2 files changed, 9 deletions(-) diff --git a/src/CLI.cpp b/src/CLI.cpp index 34907c425..d994a0851 100644 --- a/src/CLI.cpp +++ b/src/CLI.cpp @@ -98,14 +98,6 @@ A& A::operator= (const A& other) return *this; } -//////////////////////////////////////////////////////////////////////////////// -void A::clear () -{ - _name = ""; - _tags.clear (); - _attributes.clear (); -} - //////////////////////////////////////////////////////////////////////////////// bool A::hasTag (const std::string& tag) const { diff --git a/src/CLI.h b/src/CLI.h index b02dddbf6..83c965201 100644 --- a/src/CLI.h +++ b/src/CLI.h @@ -41,7 +41,6 @@ public: ~A (); A (const A&); A& operator= (const A&); - void clear (); bool hasTag (const std::string&) const; void tag (const std::string&); void unTag (const std::string&);