parent
8dc87c925e
commit
88aaf4107f
|
@ -10,7 +10,14 @@
|
|||
#include "../../src/Serializer.h" // Need this for the exceptions
|
||||
|
||||
extern "C" {
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wattributes"
|
||||
#endif
|
||||
#include "miniz/miniz.h"
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
}
|
||||
|
||||
namespace {
|
||||
|
|
|
@ -360,10 +360,10 @@ std::string to_string(const std::string& value, const FormatSpec& fmt) {
|
|||
// ---------------------------------------------------------------------------
|
||||
// ## string_format() and helpers
|
||||
|
||||
static inline const char* scan_unformatted(const char* fmt) {
|
||||
const char *c = fmt;
|
||||
return c;
|
||||
}
|
||||
// static inline const char* scan_unformatted(const char* fmt) {
|
||||
// const char *c = fmt;
|
||||
// return c;
|
||||
// }
|
||||
|
||||
static inline const char* scan_int(const char* fmt, int& value) {
|
||||
value = 0;
|
||||
|
|
Loading…
Reference in New Issue