1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/graphics/scantailor/files/patch-ProfilesDialog_cpp
Veniamin Gvozdikov 8fcc23c359 - Fix complie errors
PR:		ports/211652
Submitted by:	w.schwarzenfeld@utanet.at
2016-08-22 13:40:50 +00:00

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)
)
);