Fix formatting
This commit is contained in:
parent
16f2ef91ab
commit
50fb0b5eae
@ -2704,8 +2704,8 @@ FMT_API std::system_error vsystem_error(int error_code, string_view format_str,
|
|||||||
// This throws std::system_error with the description
|
// This throws std::system_error with the description
|
||||||
// cannot open file 'madeup': No such file or directory
|
// cannot open file 'madeup': No such file or directory
|
||||||
// or similar (system message may vary).
|
// or similar (system message may vary).
|
||||||
const char *filename = "madeup";
|
const char* filename = "madeup";
|
||||||
std::FILE *file = std::fopen(filename, "r");
|
std::FILE* file = std::fopen(filename, "r");
|
||||||
if (!file)
|
if (!file)
|
||||||
throw fmt::system_error(errno, "cannot open file '{}'", filename);
|
throw fmt::system_error(errno, "cannot open file '{}'", filename);
|
||||||
\endrst
|
\endrst
|
||||||
|
Loading…
Reference in New Issue
Block a user