Move format_system_error to the public API (#323)

This commit is contained in:
Victor Zverovich
2016-05-13 07:19:39 -06:00
parent d67eb8af2f
commit cc9b051d12
6 changed files with 43 additions and 25 deletions
+1 -1
View File
@@ -105,6 +105,6 @@ std::string read(File &f, std::size_t count) {
std::string format_system_error(int error_code, fmt::StringRef message) {
fmt::MemoryWriter out;
fmt::internal::format_system_error(out, error_code, message);
fmt::format_system_error(out, error_code, message);
return out.str();
}