Skip to content

Commit

Permalink
Fix clang fallthrough
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Aug 6, 2018
1 parent 4809001 commit 3153326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgis.h
Expand Up @@ -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
Expand Down

0 comments on commit 3153326

Please sign in to comment.