summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-07-24 14:17:35 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2017-07-24 14:17:35 +0000
commitb4be762630e273ab8913261ad8b2a0a38353de2f (patch)
tree25cd74dcfc4175a258e0c9c86a082b3a128bf407 /storage
parent761677c3f844527aa67c75e718b05d13e7ff3386 (diff)
Use syntax that works for both gcc 7 and gcc 6.
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp b/storage/src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp
index 5defe2c5ae8..16f3886c813 100644
--- a/storage/src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp
+++ b/storage/src/vespa/storage/persistence/filestorage/filestorhandlerimpl.cpp
@@ -868,7 +868,7 @@ FileStorHandlerImpl::remapMessage(
}
// Follow onto next to move queue or fail
}
- [[fallthrough]];
+ //@fallthrough@
case api::MessageType::SPLITBUCKET_ID:
// Move to correct queue if op == MOVE
// Fail with bucket not found if op is JOIN
@@ -955,7 +955,7 @@ FileStorHandlerImpl::remapMessage(
break;
case GetIterCommand::ID:
bucket = static_cast<GetIterCommand&>(msg).getBucketId();
- [[fallthrough]];
+ //@fallthrough@
case RepairBucketCommand::ID:
if (bucket.getRawId() == 0) {
bucket = static_cast<RepairBucketCommand&>(msg)