mirror of
https://github.com/KjellKod/g3log.git
synced 2024-12-12 10:23:50 +01:00
Fixed ambiguous constructor error. (#262)
This commit is contained in:
parent
b6220b9174
commit
69f21e3513
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user