A few fixes for code to find luprex root

This commit is contained in:
2023-05-10 19:39:23 -04:00
parent 64b4fc465d
commit e98ad5bc62
2 changed files with 5 additions and 4 deletions

View File

@@ -42,6 +42,7 @@ std::filesystem::path find_luprex_root(std::filesystem::path exepath) {
return pp;
}
assert(false && "Could not find lua/control.lst");
return "";
}
class Driver {
@@ -81,7 +82,7 @@ class Driver {
bool marked_for_deletion() const { return state == CHAN_INACTIVE; }
};
std::string luprexroot;
std::filesystem::path luprexroot;
EngineWrapper engw;
std::vector<ChanInfo> chans_;
std::map<int, SOCKET> listen_sockets_;