[ox/std] Remove unnecessary cast
This commit is contained in:
parent
8887daf7e4
commit
85b101884a
2
deps/ox/src/ox/std/trace.cpp
vendored
2
deps/ox/src/ox/std/trace.cpp
vendored
@ -15,7 +15,7 @@ void logError(const char *file, int line, const Error &err) {
|
|||||||
TraceStream trc(file, line, "ox::error");
|
TraceStream trc(file, line, "ox::error");
|
||||||
trc << "Error:" << err;
|
trc << "Error:" << err;
|
||||||
if (err.file != nullptr) {
|
if (err.file != nullptr) {
|
||||||
trc << "(" << reinterpret_cast<const char*>(err.file) << ":" << err.line << ")";
|
trc << "(" << err.file << ":" << err.line << ")";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user