Fix ifstream initialization.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
tastytea 2020-11-21 23:21:02 +01:00
parent 212b0a18f3
commit f98f7569dc
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 1 deletions

View File

@ -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;