Core: modernize C++: return braced init list

This commit is contained in:
wmayer
2023-08-19 01:01:45 +02:00
parent 3e164a5700
commit 5f0ec490e6
2 changed files with 2 additions and 2 deletions

View File

@@ -287,7 +287,7 @@ std::string InterpreterSingleton::runStringWithKey(const char *psCmd, const char
}
else {
PyException::ThrowException();
return std::string(); // just to quieten code analyzers
return {}; // just to quieten code analyzers
}
}
Py_DECREF(presult);