mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-04-12 09:28:58 +02:00
shitfuck
This commit is contained in:
parent
8f4885de84
commit
e2405b9fb8
1 changed files with 3 additions and 1 deletions
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
#include <fstream>
|
||||
|
||||
#include <boost/type_traits.hpp>
|
||||
|
||||
#include "common/assert.h"
|
||||
#include "common/fs/file.h"
|
||||
#include "common/fs/fs.h"
|
||||
|
|
@ -369,7 +371,7 @@ ISystemSettingsServer::~ISystemSettingsServer() {
|
|||
}
|
||||
|
||||
bool ISystemSettingsServer::LoadSettingsFile(std::filesystem::path& path, auto&& default_func) {
|
||||
using settings_type = decltype(default_func());
|
||||
using settings_type = boost::function_traits<decltype(default_func)>::arg1_type;
|
||||
|
||||
if (!Common::FS::CreateDirs(path)) {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue