Commit 04a21bbb authored by Victor Zverovich's avatar Victor Zverovich

Merge branch 'fallthrough' of github.com:cppformat/cppformat

parents 267382af 618dd9d6
......@@ -119,12 +119,6 @@
# define FMT_NOEXCEPT(expr)
#endif
#if FMT_HAS_CPP_ATTRIBUTE(clang::fallthrough)
# define FMT_FALLTHROUGH [[clang::fallthrough]]
#else
# define FMT_FALLTHROUGH
#endif
// A macro to disallow the copy constructor and operator= functions
// This should be used in the private: declarations for a class
#define FMT_DISALLOW_COPY_AND_ASSIGN(TypeName) \
......@@ -880,7 +874,7 @@ class ArgVisitor {
switch (arg.type) {
default:
assert(false);
FMT_FALLTHROUGH;
return Result();
case Arg::INT:
return FMT_DISPATCH(visit_int(arg.int_value));
case Arg::UINT:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment