A workaround for a gcc miscompilation on amd64 when optimization is enabled (debian bug #479086) Peter De Wachter (pdewacht@gmail.com) placed in the public domain Status: in upstream CVS --- a/src/base/KikiEvent.cpp +++ b/src/base/KikiEvent.cpp @@ -20,10 +20,7 @@ // -------------------------------------------------------------------------------------------------------- KikiEvent::~KikiEvent () { - while (actions.empty() == false) - { - actions.pop_back(); - } + actions.clear(); } // --------------------------------------------------------------------------------------------------------