Fix ifstream initialization.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
212b0a18f3
commit
f98f7569dc
@ -290,7 +290,7 @@ void Document::parse_watchwords()
|
||||
{
|
||||
Json::Value json;
|
||||
const auto filepath = _cfg.get_config_dir() /= "watchwords.json";
|
||||
ifstream file(filepath);
|
||||
ifstream file(filepath.c_str());
|
||||
if (file.good())
|
||||
{
|
||||
stringstream rawjson;
|
||||
|
Loading…
x
Reference in New Issue
Block a user