lib/fmt/RuntimeError: new library
Replacing FormatRuntimeError().
This commit is contained in:
@@ -62,7 +62,7 @@ FileReader::Read(void *data, std::size_t size)
|
||||
|
||||
DWORD nbytes;
|
||||
if (!ReadFile(handle, data, size, &nbytes, nullptr))
|
||||
throw FmtLastError("Failed to read from %s", path);
|
||||
throw FmtLastError("Failed to read from {}", path);
|
||||
|
||||
return nbytes;
|
||||
}
|
||||
|
Reference in New Issue
Block a user