diff --git a/src/state.cpp b/src/state.cpp index 8e743c5..d46300c 100644 --- a/src/state.cpp +++ b/src/state.cpp @@ -246,7 +246,7 @@ void State::popScope() its->second = tmp; if (ov.size()==1) { - ov.clear(); + d_overloads.erase(d_decls[i]); } continue; }