all repos — fluxbox @ 4f1fbbe6e17f3d3b723a69cd7ac6a99ac58f6e66

custom fork of the fluxbox windowmanager

fix missing namespace
akir akir
commit

4f1fbbe6e17f3d3b723a69cd7ac6a99ac58f6e66

parent

93696499f35c576895a27e47da3d0b4b25ed80b2

1 files changed, 4 insertions(+), 4 deletions(-)

jump to
M src/HeadArea.ccsrc/HeadArea.cc

@@ -38,9 +38,9 @@ void HeadArea::clearStrut(Strut *str) {

if (str == 0) return; // find strut and erase it - std::list<Strut *>::iterator pos = find(m_strutlist.begin(), - m_strutlist.end(), - str); + std::list<Strut *>::iterator pos = std::find(m_strutlist.begin(), + m_strutlist.end(), + str); if (pos == m_strutlist.end()) { std::cerr << "clearStrut() failed because the strut was not found" << std::endl; return;

@@ -77,7 +77,7 @@ Strut oldarea = *(m_available_workspace_area.get());

m_available_workspace_area.reset(new Strut(0, 0, 0, 0, 0)); // calculate max area - for_each(m_strutlist.begin(), + std::for_each(m_strutlist.begin(), m_strutlist.end(), MaxArea(*m_available_workspace_area.get()));