Line 0
Link Here
|
|
|
1 |
--- ProjectFilesDialog.cpp |
2 |
+++ ProjectFilesDialog.cpp |
3 |
@@ -279,7 +279,7 @@ ProjectFilesDialog::inProjectFiles() const |
4 |
using namespace boost::lambda; |
5 |
|
6 |
std::vector<ImageFileInfo> files; |
7 |
- m_ptrInProjectFiles->items(bind(&pushFileInfo<Item>, ref(files), _1)); |
8 |
+ m_ptrInProjectFiles->items(bind(&pushFileInfo<Item>, boost::ref(files), _1)); |
9 |
|
10 |
std::sort(files.begin(), files.end(), imageFileInfoLess); |
11 |
|
12 |
@@ -439,7 +439,7 @@ ProjectFilesDialog::setInputDir(QString const& dir, bool const auto_add_files) |
13 |
files.begin(), files.end(), |
14 |
bind( |
15 |
&pushItemWithFlags<Item, ItemList>, |
16 |
- _1, ref(items), cref(m_supportedExtensions) |
17 |
+ _1, boost::ref(items), cref(m_supportedExtensions) |
18 |
) |
19 |
); |
20 |
|
21 |
@@ -510,7 +510,7 @@ ProjectFilesDialog::removeFromProject() |
22 |
m_ptrInProjectFiles->items( |
23 |
selection, bind( |
24 |
&pushItemIfSameDir<Item, ItemList>, |
25 |
- ref(items), _1, cref(input_dir) |
26 |
+ boost::ref(items), _1, cref(input_dir) |
27 |
) |
28 |
); |
29 |
|