Place the anonymous namespace within the fmt namespace

for header-only configuration as suggested by Alf Steinbach.
This commit is contained in:
vitaut
2015-06-12 07:56:58 -07:00
parent 24c309fbfa
commit 8725d07d8b
2 changed files with 11 additions and 9 deletions
+2
View File
@@ -102,6 +102,7 @@ static inline fmt::internal::None<> strerror_s(char *, std::size_t, ...) {
return fmt::internal::None<>();
}
namespace fmt {
namespace {
#ifndef _MSC_VER
@@ -406,6 +407,7 @@ template <>
inline Arg::StringValue<wchar_t> ignore_incompatible_str(
Arg::StringValue<wchar_t> s) { return s; }
} // namespace
} // namespace fmt
FMT_FUNC void fmt::SystemError::init(
int err_code, StringRef format_str, ArgList args) {