This commit is contained in:
Victor Zverovich
2014-07-27 15:09:05 -07:00
parent 5d4803a567
commit 75b5eb4b9d
8 changed files with 35 additions and 35 deletions
+2 -2
View File
@@ -91,8 +91,8 @@ std::string OutputRedirect::RestoreAndRead() {
#endif // FMT_USE_FILE_DESCRIPTORS
std::string FormatSystemErrorMessage(int error_code, fmt::StringRef message) {
std::string format_system_error(int error_code, fmt::StringRef message) {
fmt::Writer out;
fmt::internal::FormatSystemErrorMessage(out, error_code, message);
fmt::internal::format_system_error(out, error_code, message);
return out.str();
}