Improve compatibility with bcc32

This commit is contained in:
vitaut 2015-11-18 08:42:09 -08:00
parent 31aced8b59
commit 6606971aae
2 changed files with 3 additions and 3 deletions

View File

@ -744,7 +744,7 @@ FMT_FUNC void fmt::internal::format_windows_error(
}
}
} FMT_CATCH(...) {}
format_error_code(out, error_code, message);
fmt::format_error_code(out, error_code, message); // 'fmt::' is for bcc32.
}
#endif // FMT_USE_WINDOWS_H
@ -767,7 +767,7 @@ FMT_FUNC void fmt::internal::format_system_error(
buffer.resize(buffer.size() * 2);
}
} FMT_CATCH(...) {}
format_error_code(out, error_code, message);
fmt::format_error_code(out, error_code, message); // 'fmt::' is for bcc32.
}
template <typename Char>

View File

@ -1412,7 +1412,7 @@ class BasicFormatter : private internal::FormatterBase {
FMT_DISALLOW_COPY_AND_ASSIGN(BasicFormatter);
using FormatterBase::get_arg;
using internal::FormatterBase::get_arg;
// Checks if manual indexing is used and returns the argument with
// specified name.