From f67dc91aa1f00eb2005d8e576c24739df91802ce Mon Sep 17 00:00:00 2001
From: isanae <14251494+isanae@users.noreply.github.com>
Date: Fri, 14 Aug 2020 16:13:24 -0400
Subject: fixed boost bind warnings
---
src/downloadmanager.cpp | 4 +++-
src/mainwindow.cpp | 4 +++-
src/pch.h | 2 +-
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 .
#include
#include
-#include
+#include
#include
@@ -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::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 .
#ifndef Q_MOC_RUN
#include
#include
-#include
+#include
#include
#include
#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;
diff --git a/src/pch.h b/src/pch.h
index 02b6b1a2..2a2246ba 100644
--- a/src/pch.h
+++ b/src/pch.h
@@ -48,7 +48,7 @@
#include
#include
#include
-#include
+#include
#include
#include
#include
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 .
#include
#include
-#include
+#include
#include //for VS_FIXEDFILEINFO, GetLastError
--
cgit v1.3.1