summaryrefslogtreecommitdiffstats
path: root/vdslib
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 /vdslib
parent761677c3f844527aa67c75e718b05d13e7ff3386 (diff)
Use syntax that works for both gcc 7 and gcc 6.
Diffstat (limited to 'vdslib')
-rw-r--r--vdslib/src/vespa/vdslib/state/diskstate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/vdslib/src/vespa/vdslib/state/diskstate.cpp b/vdslib/src/vespa/vdslib/state/diskstate.cpp
index 39ebe1e0ca0..9a4da5b8f59 100644
--- a/vdslib/src/vespa/vdslib/state/diskstate.cpp
+++ b/vdslib/src/vespa/vdslib/state/diskstate.cpp
@@ -64,7 +64,7 @@ DiskState::DiskState(const vespalib::stringref & serialized)
"must be a positive floating point number",
VESPA_STRLOC);
}
- [[fallthrough]];
+ //@fallthrough@
case 'm':
if (key.size() > 1) break;
_description = document::StringUtil::unescape(value);