remove unused function

release/4.3a0
Duy-Nguyen Ta 2016-09-09 07:18:00 -04:00
parent 93696c0245
commit 6e96e095f3
2 changed files with 9 additions and 9 deletions

View File

@ -58,14 +58,14 @@ static void handleException(const out_of_range& oor,
} }
/* ************************************************************************* */ /* ************************************************************************* */
Method& Class::mutableMethod(Str key) { // Method& Class::mutableMethod(Str key) {
try { // try {
return methods_.at(key); // return methods_.at(key);
} catch (const out_of_range& oor) { // } catch (const out_of_range& oor) {
handleException(oor, methods_); // handleException(oor, methods_);
throw runtime_error("Internal error in wrap"); // throw runtime_error("Internal error in wrap");
} // }
} // }
/* ************************************************************************* */ /* ************************************************************************* */
const Method& Class::method(Str key) const { const Method& Class::method(Str key) const {

View File

@ -59,7 +59,7 @@ private:
boost::optional<Qualified> parentClass; ///< The *single* parent boost::optional<Qualified> parentClass; ///< The *single* parent
Methods methods_; ///< Class methods Methods methods_; ///< Class methods
Method& mutableMethod(Str key); // Method& mutableMethod(Str key);
public: public: