removing more boost references
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
#include <QListWidget>
|
||||
#include <QApplication>
|
||||
#include <qt-color-widgets/color_selector.hpp>
|
||||
#include <boost/optional.hpp>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
@@ -10,8 +10,6 @@
|
||||
#include <QtWidgets/QDoubleSpinBox>
|
||||
#include <QtWidgets/QSlider>
|
||||
|
||||
#include <boost/optional.hpp>
|
||||
|
||||
class MapView;
|
||||
class QButtonGroup;
|
||||
class World;
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
// This file is part of Noggit3, licensed under GNU General Public License (version 3).
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <noggit/Selection.h>
|
||||
|
||||
#include <boost/optional.hpp>
|
||||
|
||||
#include <QtWidgets/QDoubleSpinBox>
|
||||
#include <QtWidgets/QWidget>
|
||||
#include <QDockWidget>
|
||||
|
||||
@@ -32,8 +32,6 @@
|
||||
#include <QSysInfo>
|
||||
#include <QStandardPaths>
|
||||
#include <QDir>
|
||||
#include <boost/function.hpp>
|
||||
|
||||
#include <boost/format.hpp>
|
||||
|
||||
#ifdef USE_MYSQL_UID_STORAGE
|
||||
@@ -124,14 +122,14 @@ namespace Noggit
|
||||
|
||||
std::filesystem::path pluginPath = std::filesystem::path(lib_dir.absoluteFilePath("noggit").toStdString());
|
||||
|
||||
typedef boost::shared_ptr<Plugin>(PluginCreate)();
|
||||
boost::function <PluginCreate> pluginCreator;
|
||||
typedef std::shared_ptr<Plugin>(PluginCreate)();
|
||||
std::function <PluginCreate> pluginCreator;
|
||||
try
|
||||
{
|
||||
pluginCreator = boost::dll::import_alias<PluginCreate>(pluginPath,
|
||||
pluginCreator = std::dll::import_alias<PluginCreate>(pluginPath,
|
||||
"create_plugin", boost::dll::load_mode::append_decorations);
|
||||
}
|
||||
catch (const boost::system::system_error &err)
|
||||
catch (const std::system::system_error &err)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user