diff options
author | akir <akir> | 2004-10-21 10:56:05 (GMT) |
---|---|---|
committer | akir <akir> | 2004-10-21 10:56:05 (GMT) |
commit | 4f1fbbe6e17f3d3b723a69cd7ac6a99ac58f6e66 (patch) | |
tree | 0d4f073d34f9c2813c74d0bcd73994c42a85a373 /src | |
parent | 93696499f35c576895a27e47da3d0b4b25ed80b2 (diff) | |
download | fluxbox-4f1fbbe6e17f3d3b723a69cd7ac6a99ac58f6e66.zip fluxbox-4f1fbbe6e17f3d3b723a69cd7ac6a99ac58f6e66.tar.bz2 |
fix missing namespace
Diffstat (limited to 'src')
-rw-r--r-- | src/HeadArea.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/HeadArea.cc b/src/HeadArea.cc index 67f08ff..ee2a1d4 100644 --- a/src/HeadArea.cc +++ b/src/HeadArea.cc | |||
@@ -38,9 +38,9 @@ void HeadArea::clearStrut(Strut *str) { | |||
38 | if (str == 0) | 38 | if (str == 0) |
39 | return; | 39 | return; |
40 | // find strut and erase it | 40 | // find strut and erase it |
41 | std::list<Strut *>::iterator pos = find(m_strutlist.begin(), | 41 | std::list<Strut *>::iterator pos = std::find(m_strutlist.begin(), |
42 | m_strutlist.end(), | 42 | m_strutlist.end(), |
43 | str); | 43 | str); |
44 | if (pos == m_strutlist.end()) { | 44 | if (pos == m_strutlist.end()) { |
45 | std::cerr << "clearStrut() failed because the strut was not found" << std::endl; | 45 | std::cerr << "clearStrut() failed because the strut was not found" << std::endl; |
46 | return; | 46 | return; |
@@ -77,7 +77,7 @@ bool HeadArea::updateAvailableWorkspaceArea() { | |||
77 | m_available_workspace_area.reset(new Strut(0, 0, 0, 0, 0)); | 77 | m_available_workspace_area.reset(new Strut(0, 0, 0, 0, 0)); |
78 | 78 | ||
79 | // calculate max area | 79 | // calculate max area |
80 | for_each(m_strutlist.begin(), | 80 | std::for_each(m_strutlist.begin(), |
81 | m_strutlist.end(), | 81 | m_strutlist.end(), |
82 | MaxArea(*m_available_workspace_area.get())); | 82 | MaxArea(*m_available_workspace_area.get())); |
83 | 83 | ||