Build fix

This commit is contained in:
@clasher113 2023-11-20 10:11:04 +02:00
parent 5252856bbb
commit 3033f4f767
2 changed files with 3 additions and 2 deletions

3
.gitignore vendored
View File

@ -21,4 +21,5 @@ Debug/voxel_engine
.cproject
.project
.git
/Default/
/Default/
/controls.json

View File

@ -95,7 +95,7 @@ int main() {
if (std::filesystem::is_regular_file(settings_file)) {
std::cout << "-- loading settings" << std::endl;
std::string content = files::read_string(settings_file);
toml::Reader reader(&wrapper, settings_file, content);
toml::Reader reader(&wrapper, settings_file.string(), content);
reader.read();
}
Engine engine(settings);