remove unused function
parent
93696c0245
commit
6e96e095f3
|
@ -58,14 +58,14 @@ static void handleException(const out_of_range& oor,
|
|||
}
|
||||
|
||||
/* ************************************************************************* */
|
||||
Method& Class::mutableMethod(Str key) {
|
||||
try {
|
||||
return methods_.at(key);
|
||||
} catch (const out_of_range& oor) {
|
||||
handleException(oor, methods_);
|
||||
throw runtime_error("Internal error in wrap");
|
||||
}
|
||||
}
|
||||
// Method& Class::mutableMethod(Str key) {
|
||||
// try {
|
||||
// return methods_.at(key);
|
||||
// } catch (const out_of_range& oor) {
|
||||
// handleException(oor, methods_);
|
||||
// throw runtime_error("Internal error in wrap");
|
||||
// }
|
||||
// }
|
||||
|
||||
/* ************************************************************************* */
|
||||
const Method& Class::method(Str key) const {
|
||||
|
|
|
@ -59,7 +59,7 @@ private:
|
|||
|
||||
boost::optional<Qualified> parentClass; ///< The *single* parent
|
||||
Methods methods_; ///< Class methods
|
||||
Method& mutableMethod(Str key);
|
||||
// Method& mutableMethod(Str key);
|
||||
|
||||
public:
|
||||
|
||||
|
|
Loading…
Reference in New Issue