diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-07-24 14:17:35 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-07-24 14:17:35 +0000 |
commit | b4be762630e273ab8913261ad8b2a0a38353de2f (patch) | |
tree | 25cd74dcfc4175a258e0c9c86a082b3a128bf407 /staging_vespalib | |
parent | 761677c3f844527aa67c75e718b05d13e7ff3386 (diff) |
Use syntax that works for both gcc 7 and gcc 6.
Diffstat (limited to 'staging_vespalib')
-rw-r--r-- | staging_vespalib/src/vespa/vespalib/util/jsonwriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/util/jsonwriter.cpp b/staging_vespalib/src/vespa/vespalib/util/jsonwriter.cpp index ebeda4f1b8b..8fd96153dd7 100644 --- a/staging_vespalib/src/vespa/vespalib/util/jsonwriter.cpp +++ b/staging_vespalib/src/vespa/vespalib/util/jsonwriter.cpp @@ -56,7 +56,7 @@ JSONWriter::quote(const char * str, size_t len) case '\"': case '\\': v[j++] = '\\'; - [[fallthrough]]; + //@fallthrough@ default: v[j++] = str[i]; break; |