CLI2: Dead code removal
This commit is contained in:
10
src/CLI2.cpp
10
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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user