diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2020-11-23 19:54:57 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2020-11-23 19:54:57 +0000 |
commit | 45ef55eb4c13ed89391b4c61f81c719fc4f2033a (patch) | |
tree | 03f6bd5476689e6fb921213fe49addac06073014 /vespalib/src | |
parent | 66445f857b81b051c1572409ce19d032cb03024c (diff) |
- Reorder members for compactness.
- Avoid needing the definition of Error everywhere.
- use std::make_xxx and other c++11 constructs.
Diffstat (limited to 'vespalib/src')
-rw-r--r-- | vespalib/src/vespa/vespalib/data/slime/cursor.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/vespalib/src/vespa/vespalib/data/slime/cursor.h b/vespalib/src/vespa/vespalib/data/slime/cursor.h index 6815ad3ba83..34d7028a027 100644 --- a/vespalib/src/vespa/vespalib/data/slime/cursor.h +++ b/vespalib/src/vespa/vespalib/data/slime/cursor.h @@ -5,8 +5,7 @@ #include "inspector.h" #include "external_memory.h" -namespace vespalib { -namespace slime { +namespace vespalib::slime { struct Cursor : public Inspector { virtual Cursor &operator[](size_t idx) const override = 0; @@ -46,6 +45,4 @@ struct Cursor : public Inspector { virtual Symbol resolve(Memory symbol_name) = 0; }; -} // namespace vespalib::slime -} // namespace vespalib - +} |