Fixed ambiguous constructor error. (#262)

This commit is contained in:
John Farrier 2018-04-26 22:30:26 -04:00 committed by Kjell Hedström
parent b6220b9174
commit 69f21e3513

View File

@ -120,7 +120,7 @@ namespace {
std::string lineInformation;
std::string callInformation;
if (SymFromAddr(GetCurrentProcess(), addr, &displacement64, symbol)) {
callInformation.append(" ").append({symbol->Name, symbol->NameLen});
callInformation.append(" ").append({std::string(symbol->Name), symbol->NameLen});
if (SymGetLineFromAddr64(GetCurrentProcess(), addr, &displacement, &line)) {
lineInformation.append("\t").append(line.FileName).append(" L: ");
lineInformation.append(std::to_string(line.LineNumber));