mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 21:16:56 +00:00
Fix build.
This commit is contained in:
parent
eab0b577f8
commit
e62354a190
2
posix.cc
2
posix.cc
@ -73,7 +73,7 @@ fmt::BufferedFile::~BufferedFile() FMT_NOEXCEPT(true) {
|
||||
fmt::BufferedFile::BufferedFile(fmt::StringRef filename, fmt::StringRef mode) {
|
||||
FMT_RETRY_VAL(file_, FMT_SYSTEM(fopen(filename.c_str(), mode.c_str())), 0);
|
||||
if (!file_)
|
||||
throw SystemError(errno, "cannot open file {}", path);
|
||||
throw SystemError(errno, "cannot open file {}", filename);
|
||||
}
|
||||
|
||||
void fmt::BufferedFile::close() {
|
||||
|
Loading…
Reference in New Issue
Block a user