Fix crash on Windows with -j option
This commit is contained in:
parent
650f4099d2
commit
6d90b5a010
|
@ -845,8 +845,8 @@ ValueFlow::Value evaluateLibraryFunction(const std::unordered_map<nonneg int, Va
|
|||
const std::string& returnValue,
|
||||
const Settings* settings)
|
||||
{
|
||||
static std::unordered_map<std::string,
|
||||
std::function<ValueFlow::Value(const std::unordered_map<nonneg int, ValueFlow::Value>& arg)>>
|
||||
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