diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-08-14 16:13:24 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2020-11-03 11:39:07 -0500 |
| commit | f67dc91aa1f00eb2005d8e576c24739df91802ce (patch) | |
| tree | 370bcda230dd1ea2be7bdeeff87af580b20a3bc8 | |
| parent | 5fc6b0cd142b18ea574381580752ef6647102c9f (diff) | |
fixed boost bind warnings
| -rw-r--r-- | src/downloadmanager.cpp | 4 | ||||
| -rw-r--r-- | src/mainwindow.cpp | 4 | ||||
| -rw-r--r-- | src/pch.h | 2 | ||||
| -rw-r--r-- | src/selfupdater.cpp | 2 |
4 files changed, 8 insertions, 4 deletions
diff --git a/src/downloadmanager.cpp b/src/downloadmanager.cpp index 5db0cbdf..2927a972 100644 --- a/src/downloadmanager.cpp +++ b/src/downloadmanager.cpp @@ -42,7 +42,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include <QCoreApplication> #include <QTextDocument> -#include <boost/bind.hpp> +#include <boost/bind/bind.hpp> #include <regex> @@ -1841,6 +1841,8 @@ int DownloadManager::indexByInfo(const DownloadInfo* info) const void DownloadManager::nxmDownloadURLsAvailable(QString gameName, int modID, int fileID, QVariant userData, QVariant resultData, int requestID) { + using namespace boost::placeholders; + std::set<int>::iterator idIter = m_RequestIDs.find(requestID); if (idIter == m_RequestIDs.end()) { return; diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 9144210c..3ef34e93 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -168,7 +168,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #ifndef Q_MOC_RUN #include <boost/thread.hpp> #include <boost/algorithm/string.hpp> -#include <boost/bind.hpp> +#include <boost/bind/bind.hpp> #include <boost/assign.hpp> #include <boost/range/adaptor/reversed.hpp> #endif @@ -5903,6 +5903,8 @@ bool MainWindow::extractProgress(QProgressDialog &progress, int percentage, std: void MainWindow::extractBSATriggered() { + using namespace boost::placeholders; + QTreeWidgetItem *item = m_ContextItem; QString origin; @@ -48,7 +48,7 @@ #include <boost/algorithm/string.hpp> #include <boost/algorithm/string/predicate.hpp> #include <boost/assign.hpp> -#include <boost/bind.hpp> +#include <boost/bind/bind.hpp> #include <boost/function.hpp> #include <boost/fusion/algorithm/iteration/for_each.hpp> #include <boost/fusion/container.hpp> diff --git a/src/selfupdater.cpp b/src/selfupdater.cpp index 904dbd83..c0f3b005 100644 --- a/src/selfupdater.cpp +++ b/src/selfupdater.cpp @@ -56,7 +56,7 @@ along with Mod Organizer. If not, see <http://www.gnu.org/licenses/>. #include <QtDebug>
#include <QtAlgorithms>
-#include <boost/bind.hpp>
+#include <boost/bind/bind.hpp>
#include <Windows.h> //for VS_FIXEDFILEINFO, GetLastError
|
