Closed fostfox closed 5 years ago
Maybe Add to profiler.h
QMap<QString, FunctionTimeInfo> Profiler::m_funcTimeInfoMap;
Add default constructor & in https://github.com/ArnMips/lua-cpp-s101-integration/blob/352368c76d5dd11e559f8ac4e4b5f404bcd86219/profiler.h#L52 Like this
FunctionTimeInfo()
: m_name("undef_function_name")
void setName(const std::string &name);
Fixed
Need initialization
https://github.com/ArnMips/lua-cpp-s101-integration/blob/352368c76d5dd11e559f8ac4e4b5f404bcd86219/profiler.h#L67