Skip to content
Permalink
Browse files

Fix clang fallthrough

  • Loading branch information
m-kuhn committed Aug 4, 2018
1 parent 4809001 commit 31533268a74b4062cbb7c5ea20eaf167cb4f79b4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgis.h
@@ -563,7 +563,7 @@ typedef unsigned long long qgssize;
#if __cplusplus >= 201500
#define FALLTHROUGH [[fallthrough]];
#elif defined(__clang__)
#define FALLTHROUGH //[[clang::fallthrough]]
#define FALLTHROUGH [[clang::fallthrough]]
#elif defined(__GNUC__) && __GNUC__ >= 7
#define FALLTHROUGH [[gnu::fallthrough]];
#else

0 comments on commit 3153326

Please sign in to comment.
You can’t perform that action at this time.