diff --git a/src/Handler.cpp b/src/Handler.cpp index 4af1768..adb9904 100644 --- a/src/Handler.cpp +++ b/src/Handler.cpp @@ -118,7 +118,7 @@ void Handler::reorderFunctions() { auto& vec = m_content->m_functions; std::cout << "functions size " << vec.size() << std::endl; std::sort(vec.begin(), vec.end(), [this](auto const a, auto const b) { - std::cout << "reordering " << handles[a] << " " << handles[b] << std::endl; + std::cout << "reordering " << m_handles[a] << " " << m_handles[b] << std::endl; return (m_hooks.at(m_handles[a])->m_metadata.m_priority < m_hooks.at(m_handles[b])->m_metadata.m_priority); }); }