mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
8fcc23c359
PR: ports/211652 Submitted by: w.schwarzenfeld@utanet.at
30 lines
945 B
Plaintext
30 lines
945 B
Plaintext
--- ProjectFilesDialog.cpp
|
|
+++ ProjectFilesDialog.cpp
|
|
@@ -279,7 +279,7 @@ ProjectFilesDialog::inProjectFiles() const
|
|
using namespace boost::lambda;
|
|
|
|
std::vector<ImageFileInfo> files;
|
|
- m_ptrInProjectFiles->items(bind(&pushFileInfo<Item>, ref(files), _1));
|
|
+ m_ptrInProjectFiles->items(bind(&pushFileInfo<Item>, boost::ref(files), _1));
|
|
|
|
std::sort(files.begin(), files.end(), imageFileInfoLess);
|
|
|
|
@@ -439,7 +439,7 @@ ProjectFilesDialog::setInputDir(QString const& dir, bool const auto_add_files)
|
|
files.begin(), files.end(),
|
|
bind(
|
|
&pushItemWithFlags<Item, ItemList>,
|
|
- _1, ref(items), cref(m_supportedExtensions)
|
|
+ _1, boost::ref(items), cref(m_supportedExtensions)
|
|
)
|
|
);
|
|
|
|
@@ -510,7 +510,7 @@ ProjectFilesDialog::removeFromProject()
|
|
m_ptrInProjectFiles->items(
|
|
selection, bind(
|
|
&pushItemIfSameDir<Item, ItemList>,
|
|
- ref(items), _1, cref(input_dir)
|
|
+ boost::ref(items), _1, cref(input_dir)
|
|
)
|
|
);
|
|
|