Skip to content

Commit 3153326

Browse files
committedAug 6, 2018
Fix clang fallthrough
1 parent 4809001 commit 3153326

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/qgis.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ typedef unsigned long long qgssize;
563563
#if __cplusplus >= 201500
564564
#define FALLTHROUGH [[fallthrough]];
565565
#elif defined(__clang__)
566-
#define FALLTHROUGH //[[clang::fallthrough]]
566+
#define FALLTHROUGH [[clang::fallthrough]]
567567
#elif defined(__GNUC__) && __GNUC__ >= 7
568568
#define FALLTHROUGH [[gnu::fallthrough]];
569569
#else

0 commit comments

Comments
 (0)
Please sign in to comment.