Cleanup tests

This commit is contained in:
Victor Zverovich
2021-04-29 21:09:54 -07:00
parent ccf4ccde23
commit c9c0e5077d
3 changed files with 52 additions and 57 deletions

View File

@@ -66,8 +66,7 @@ inline int fmt_snprintf(char* buffer, size_t size, const char* format, ...) {
// ERANGE - buffer is not large enough to store the error message
// other - failure
// Buffer should be at least of size 1.
inline int safe_strerror(int error_code, char*& buffer,
size_t buffer_size) FMT_NOEXCEPT {
inline int safe_strerror(int error_code, char*& buffer, size_t buffer_size) {
FMT_ASSERT(buffer != nullptr && buffer_size != 0, "invalid buffer");
class dispatcher {