Fix crash on Windows with -j option
This commit is contained in:
parent
650f4099d2
commit
6d90b5a010
|
@ -845,7 +845,7 @@ ValueFlow::Value evaluateLibraryFunction(const std::unordered_map<nonneg int, Va
|
|||
const std::string& returnValue,
|
||||
const Settings* settings)
|
||||
{
|
||||
static std::unordered_map<std::string,
|
||||
thread_local static std::unordered_map<std::string,
|
||||
std::function<ValueFlow::Value(const std::unordered_map<nonneg int, ValueFlow::Value>& arg)>>
|
||||
functions = {};
|
||||
if (functions.count(returnValue) == 0) {
|
||||
|
|
Loading…
Reference in New Issue