Build fix
This commit is contained in:
parent
5252856bbb
commit
3033f4f767
3
.gitignore
vendored
3
.gitignore
vendored
@ -21,4 +21,5 @@ Debug/voxel_engine
|
|||||||
.cproject
|
.cproject
|
||||||
.project
|
.project
|
||||||
.git
|
.git
|
||||||
/Default/
|
/Default/
|
||||||
|
/controls.json
|
||||||
|
|||||||
@ -95,7 +95,7 @@ int main() {
|
|||||||
if (std::filesystem::is_regular_file(settings_file)) {
|
if (std::filesystem::is_regular_file(settings_file)) {
|
||||||
std::cout << "-- loading settings" << std::endl;
|
std::cout << "-- loading settings" << std::endl;
|
||||||
std::string content = files::read_string(settings_file);
|
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();
|
reader.read();
|
||||||
}
|
}
|
||||||
Engine engine(settings);
|
Engine engine(settings);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user