1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-27 06:47:45 +00:00

maybe, just maybe, it builds on travis now

This commit is contained in:
GokuWeedLord 2017-12-14 15:03:23 +11:00
parent f8d94acd83
commit 27f6261e33

View file

@ -5,13 +5,13 @@
#include "ServerZone.h" #include "ServerZone.h"
#include <boost/format.hpp> #include <boost/format.hpp>
#include <boost/filesystem.hpp>
#include <boost/algorithm/string/predicate.hpp> #include <boost/algorithm/string/predicate.hpp>
#include <experimental/filesystem>
extern Core::Logger g_log; extern Core::Logger g_log;
extern Core::ServerZone g_serverZone; extern Core::ServerZone g_serverZone;
namespace fs = boost::filesystem; namespace fs = std::experimental::filesystem;
Core::Scripting::ScriptLoader::ScriptLoader() Core::Scripting::ScriptLoader::ScriptLoader()
{} {}
@ -49,7 +49,7 @@ bool Core::Scripting::ScriptLoader::unloadModule( ModuleHandle handle )
Core::Scripting::ScriptInfo* Core::Scripting::ScriptLoader::loadModule( const std::string& path ) Core::Scripting::ScriptInfo* Core::Scripting::ScriptLoader::loadModule( const std::string& path )
{ {
boost::filesystem::path f( path ); fs::path f( path );
if ( isModuleLoaded( f.stem().string() ) ) if ( isModuleLoaded( f.stem().string() ) )
{ {