fix linux compilation

This commit is contained in:
Tiago Rodrigues
2023-11-18 15:55:09 -05:00
committed by trodrigues
parent 5c0513931a
commit b3f68801bb

View File

@@ -29,9 +29,9 @@ std::string ExecShellCommand( const char* cmd )
class SymbolResolver
{
public:
SymbolResolver( const std::string& addr2linePath )
SymbolResolver()
{
std::stringstream result(ExecShellCommand("which addr2line"));
std::stringstream result( ExecShellCommand("which addr2line") );
std::getline(result, m_addr2LinePath);
if( !m_addr2LinePath.length() )