removing more boost references

This commit is contained in:
Alister
2021-12-12 22:57:50 +00:00
parent 14de9ee51f
commit 15a5c754f7
2 changed files with 3 additions and 6 deletions

View File

@@ -14,8 +14,6 @@
#include <noggit/ui/tools/UiCommon/expanderwidget.h>
#include <util/qt/overload.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <QFormLayout>
#include <QGridLayout>
#include <QGroupBox>
@@ -637,7 +635,7 @@ namespace Noggit
std::vector<selection_type> selected_model;
if (boost::ends_with (filename, ".m2"))
if (filename.ends_with(".m2"))
{
ModelInstance* mi = new ModelInstance(filename, _map_view->getRenderContext());
@@ -646,7 +644,7 @@ namespace Noggit
selected_model.push_back(mi);
replace_selection(selected_model);
}
else if (boost::ends_with (filename, ".wmo"))
else if (filename.ends_with(".wmo"))
{
WMOInstance* wi = new WMOInstance(filename, _map_view->getRenderContext());

View File

@@ -32,7 +32,6 @@
#include <QSysInfo>
#include <QStandardPaths>
#include <QDir>
#include <boost/format.hpp>
#ifdef USE_MYSQL_UID_STORAGE
#include <mysql/mysql.h>
@@ -127,7 +126,7 @@ namespace Noggit
try
{
pluginCreator = std::dll::import_alias<PluginCreate>(pluginPath,
"create_plugin", boost::dll::load_mode::append_decorations);
"create_plugin", std::dll::load_mode::append_decorations);
}
catch (const std::system::system_error &err)
{