Skip to content
Snippets Groups Projects
Commit 83b464f6 authored by TheLavaBlock's avatar TheLavaBlock
Browse files

clean

parent 9f5431b6
No related branches found
No related tags found
No related merge requests found
......@@ -132,6 +132,10 @@ bool file_system::initialize(name argv_0, name org_, name app_, name ext_) {
PHYSFS_setSaneConfig(org_, app_, ext_, 0, 0);
initialized = true;
org = org_;
app = app_;
ext = ext_;
}
return initialized;
......
......@@ -35,7 +35,7 @@ bool remove_existing_path(string& target, string_ref path);
struct file_guard : no_copy_no_move {
explicit file_guard(name filename = nullptr) : filename(filename) {}
explicit file_guard(name filename = "") : filename(filename) {}
explicit file_guard(string filename) : filename(filename) {}
~file_guard() {
......@@ -44,7 +44,7 @@ struct file_guard : no_copy_no_move {
fs::remove(filename);
}
string filename = nullptr;
string filename;
bool remove = true;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment