From 251eedf7e585d5c0805b970f479274c83f7ce7d0 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Fri, 17 Jul 2015 15:35:11 -0400 Subject: [PATCH] CLI2: Dead code removal --- src/CLI2.cpp | 10 ---------- src/CLI2.h | 1 - 2 files changed, 11 deletions(-) diff --git a/src/CLI2.cpp b/src/CLI2.cpp index 2cb5cde65..82644aa57 100644 --- a/src/CLI2.cpp +++ b/src/CLI2.cpp @@ -115,16 +115,6 @@ void A2::attribute (const std::string& name, const std::string& value) decompose (); } -//////////////////////////////////////////////////////////////////////////////// -// Accessor for attributes. -void A2::attribute (const std::string& name, const int value) -{ - _attributes[name] = format (value); - - if (name == "raw") - decompose (); -} - //////////////////////////////////////////////////////////////////////////////// // Accessor for attributes. const std::string A2::attribute (const std::string& name) const diff --git a/src/CLI2.h b/src/CLI2.h index c2d9b8054..b8f9290fe 100644 --- a/src/CLI2.h +++ b/src/CLI2.h @@ -44,7 +44,6 @@ public: void tag (const std::string&); void unTag (const std::string&); void attribute (const std::string&, const std::string&); - void attribute (const std::string&, const int); const std::string attribute (const std::string&) const; const std::string getToken () const; const std::string dump () const;