We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6ef0c1 commit cdda03eCopy full SHA for cdda03e
1 file changed
src/flamegpu/model/AgentDescription.cpp
@@ -211,7 +211,8 @@ AgentFunctionDescription& AgentDescription::newRTCFunction(const std::string& fu
211
printf("rtn %p\n", rtn.get());
212
printf("rtn->rtc_func_name %s\n", rtn->rtc_func_name.c_str());
213
printf("agent->functions.size() %zu\n", agent->functions.size());
214
- agent->functions.emplace(function_name, rtn);
+ // agent->functions.emplace(function_name, rtn);
215
+ agent->functions.insert({function_name, rtn}); // emplace caused nvhpc 21.7 with gcc 9 to segfault
216
printf("%s::%d\n", __FILE__, __LINE__);
217
return *rtn->description;
218
} else {
0 commit comments