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