Replace using with typedef for compatibility with gcc-4.6
This commit is contained in:
1 parent
0b508fd29d
commit
522de7b55d
4 files changed
+103
-101
No files matched your search
+10
-8
@@ -440,15 +440,17 @@ struct custom_context {
|
||||
|
||||
template <typename T>
|
||||
struct formatter_type {
|
||||
template <typename ParseContext>
|
||||
auto parse(ParseContext &ctx) -> decltype(ctx.begin()) {
|
||||
return ctx.begin();
|
||||
}
|
||||
struct type {
|
||||
template <typename ParseContext>
|
||||
auto parse(ParseContext &ctx) -> decltype(ctx.begin()) {
|
||||
return ctx.begin();
|
||||
}
|
||||
|
||||
const char *format(const T &, custom_context& ctx) {
|
||||
ctx.called = true;
|
||||
return 0;
|
||||
}
|
||||
const char *format(const T &, custom_context& ctx) {
|
||||
ctx.called = true;
|
||||
return 0;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
bool called;
|
||||
|
||||
Reference in new issue
Block a user