diff options
author | Tor Egge <Tor.Egge@online.no> | 2021-11-05 18:22:18 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2021-11-05 18:22:18 +0100 |
commit | 907dc57275ee0f9ab89336e361e8a65485a5b7de (patch) | |
tree | 0cdc3c77af5e615c1424c1b823718b98beb75d42 /staging_vespalib | |
parent | b4d75eb34c424d1f5e2b9b57a43be51a9c8e19b9 (diff) |
Bundle fields using same executor for memory index.
Diffstat (limited to 'staging_vespalib')
-rw-r--r-- | staging_vespalib/src/vespa/vespalib/util/isequencedtaskexecutor.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/util/isequencedtaskexecutor.h b/staging_vespalib/src/vespa/vespalib/util/isequencedtaskexecutor.h index 8268363d335..06cc37616c0 100644 --- a/staging_vespalib/src/vespa/vespalib/util/isequencedtaskexecutor.h +++ b/staging_vespalib/src/vespa/vespalib/util/isequencedtaskexecutor.h @@ -19,12 +19,12 @@ class ISequencedTaskExecutor public: class ExecutorId { public: - ExecutorId() : ExecutorId(0) { } - explicit ExecutorId(uint32_t id) : _id(id) { } - uint32_t getId() const { return _id; } - bool operator != (ExecutorId rhs) const { return _id != rhs._id; } - bool operator == (ExecutorId rhs) const { return _id == rhs._id; } - bool operator < (ExecutorId rhs) const { return _id < rhs._id; } + ExecutorId() noexcept : ExecutorId(0) { } + explicit ExecutorId(uint32_t id) noexcept : _id(id) { } + uint32_t getId() const noexcept { return _id; } + bool operator != (ExecutorId rhs) const noexcept { return _id != rhs._id; } + bool operator == (ExecutorId rhs) const noexcept { return _id == rhs._id; } + bool operator < (ExecutorId rhs) const noexcept { return _id < rhs._id; } private: uint32_t _id; }; |