aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorArne Juul <arnej@yahoo-inc.com>2018-06-20 11:49:38 +0200
committerArne Juul <arnej@yahoo-inc.com>2018-06-20 11:49:38 +0200
commit016612733da6f4e16428ec3f95dc5e19b932a0c5 (patch)
tree4f626b6113e79ad41c1289b5b6cb4c1f6f0f68f8 /vespalib
parentd161b6bcb87566a31cb5e0700b84f968539f502f (diff)
some more cleanup
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/data/slime/binary_format.cpp4
-rw-r--r--vespalib/src/vespa/vespalib/data/slime/inject.cpp2
-rw-r--r--vespalib/src/vespa/vespalib/data/slime/json_format.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/vespalib/src/vespa/vespalib/data/slime/binary_format.cpp b/vespalib/src/vespa/vespalib/data/slime/binary_format.cpp
index d6e12c7ab59..2febe3f4405 100644
--- a/vespalib/src/vespa/vespalib/data/slime/binary_format.cpp
+++ b/vespalib/src/vespa/vespalib/data/slime/binary_format.cpp
@@ -58,7 +58,7 @@ struct BinaryEncoder : public ArrayTraverser,
case ARRAY::ID: return encodeArray(inspector);
case OBJECT::ID: return encodeObject(inspector);
}
- LOG_ABORT("should not be reached"); // should not be reached
+ LOG_ABORT("should not be reached");
}
void encodeSymbolTable(const Slime &slime) {
size_t numSymbols = slime.symbols();
@@ -173,7 +173,7 @@ struct BinaryDecoder : SymbolHandler<remap_symbols>::type {
case ARRAY::ID: return decodeArray(inserter, meta);
case OBJECT::ID: return decodeObject(inserter, meta);
}
- LOG_ABORT("should not be reached"); // code should not be reached
+ LOG_ABORT("should not be reached");
}
void decodeValue(const Inserter &inserter) {
diff --git a/vespalib/src/vespa/vespalib/data/slime/inject.cpp b/vespalib/src/vespa/vespalib/data/slime/inject.cpp
index febd9058b00..7480550ceab 100644
--- a/vespalib/src/vespa/vespalib/data/slime/inject.cpp
+++ b/vespalib/src/vespa/vespalib/data/slime/inject.cpp
@@ -51,7 +51,7 @@ void injectValue(const Inserter &inserter, const Inspector &inspector, const Ins
case ARRAY::ID: return injectArray(inserter, inspector, guard);
case OBJECT::ID: return injectObject(inserter, inspector, guard);
}
- LOG_ABORT("should not be reached"); // should not be reached
+ LOG_ABORT("should not be reached");
}
void
diff --git a/vespalib/src/vespa/vespalib/data/slime/json_format.cpp b/vespalib/src/vespa/vespalib/data/slime/json_format.cpp
index 29ab55143e0..3e06529cd5b 100644
--- a/vespalib/src/vespa/vespalib/data/slime/json_format.cpp
+++ b/vespalib/src/vespa/vespalib/data/slime/json_format.cpp
@@ -136,7 +136,7 @@ struct JsonEncoder : public ArrayTraverser,
case ARRAY::ID: return encodeARRAY(inspector);
case OBJECT::ID: return encodeOBJECT(inspector);
}
- LOG_ABORT("should not be reached"); // should not be reached
+ LOG_ABORT("should not be reached");
}
void entry(size_t idx, const Inspector &inspector) override;
void field(const Memory &symbol_name, const Inspector &inspector) override;