remove unused function
parent
93696c0245
commit
6e96e095f3
|
@ -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 {
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue