mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-29 18:27:40 +02:00
Improve support for non-POSIX platforms more
This commit is contained in:
@ -192,7 +192,10 @@ class file_scan_buffer final : public scan_buffer {
|
||||
flockfile(f);
|
||||
fill();
|
||||
}
|
||||
~file_scan_buffer() { funlockfile(file_); }
|
||||
~file_scan_buffer() {
|
||||
FILE* f = file_;
|
||||
funlockfile(f);
|
||||
}
|
||||
};
|
||||
} // namespace detail
|
||||
|
||||
|
Reference in New Issue
Block a user