summaryrefslogtreecommitdiff
path: root/src/downloadmanager.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-08-14 16:13:24 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2020-11-03 11:39:07 -0500
commitf67dc91aa1f00eb2005d8e576c24739df91802ce (patch)
tree370bcda230dd1ea2be7bdeeff87af580b20a3bc8 /src/downloadmanager.cpp
parent5fc6b0cd142b18ea574381580752ef6647102c9f (diff)
fixed boost bind warnings
Diffstat (limited to 'src/downloadmanager.cpp')
-rw-r--r--src/downloadmanager.cpp4
1 files changed, 3 insertions, 1 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;