Fix formatting

This commit is contained in:
Victor Zverovich 2021-05-07 08:52:49 -07:00
parent 16f2ef91ab
commit 50fb0b5eae

View File

@ -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
// cannot open file 'madeup': No such file or directory
// or similar (system message may vary).
const char *filename = "madeup";
std::FILE *file = std::fopen(filename, "r");
const char* filename = "madeup";
std::FILE* file = std::fopen(filename, "r");
if (!file)
throw fmt::system_error(errno, "cannot open file '{}'", filename);
\endrst