[ox/std] Remove unnecessary cast

This commit is contained in:
Gary Talent 2021-04-22 01:09:42 -05:00
parent 8887daf7e4
commit 85b101884a

View File

@ -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 << ")";
} }
} }
} }