Move Format*ErrorMessage to internal namespace.

This commit is contained in:
Victor Zverovich
2014-04-30 15:00:41 -07:00
parent f3a86e83fe
commit 53b4c31afb
2 changed files with 59 additions and 52 deletions
+8
View File
@@ -500,6 +500,14 @@ class UTF16ToUTF8 {
// Buffer should be at least of size 1.
int StrError(int error_code, char *&buffer, std::size_t buffer_size);
void FormatSystemErrorMessage(
fmt::Writer &out, int error_code, fmt::StringRef message);
#ifdef _WIN32
void FormatWinErrorMessage(
fmt::Writer &out, int error_code, fmt::StringRef message);
#endif
} // namespace internal
/**