fix: SIGSEGV on parsing of config file. (introduced in main by clang-tidy fix)
This commit is contained in:
parent
22b876d278
commit
6fd6c8b3dd
@ -227,8 +227,9 @@ int Exiv2::ini_parse(const char* filename, ini_handler handler, void* user)
|
||||
return error;
|
||||
}
|
||||
|
||||
INIReader::INIReader(const std::string& filename) : _error(ini_parse(filename.c_str(), ValueHandler, this))
|
||||
INIReader::INIReader(const std::string& filename)
|
||||
{
|
||||
_error = ini_parse(filename.c_str(), ValueHandler, this);
|
||||
}
|
||||
|
||||
int INIReader::ParseError() const
|
||||
|
||||
Loading…
Reference in New Issue
Block a user