mirror of
https://github.com/fmtlib/fmt.git
synced 2026-04-29 02:03:36 +02:00
Cleanup tests
This commit is contained in:
@@ -9,16 +9,6 @@
|
||||
|
||||
#include <cstring>
|
||||
|
||||
void increment(char* s) {
|
||||
for (int i = static_cast<int>(std::strlen(s)) - 1; i >= 0; --i) {
|
||||
if (s[i] != '9') {
|
||||
++s[i];
|
||||
break;
|
||||
}
|
||||
s[i] = '0';
|
||||
}
|
||||
}
|
||||
|
||||
std::string get_system_error(int error_code) {
|
||||
#if defined(__MINGW32__) || !defined(_WIN32)
|
||||
return strerror(error_code);
|
||||
|
||||
Reference in New Issue
Block a user