diff options
4 files changed, 5 insertions, 5 deletions
diff --git a/documentapi/src/vespa/documentapi/messagebus/routablerepository.h b/documentapi/src/vespa/documentapi/messagebus/routablerepository.h index 04240b99bd7..1b043e2b6f8 100644 --- a/documentapi/src/vespa/documentapi/messagebus/routablerepository.h +++ b/documentapi/src/vespa/documentapi/messagebus/routablerepository.h @@ -45,7 +45,7 @@ public: /** * Constructs a new routable repository. */ - explicit RoutableRepository(); + RoutableRepository(); /** * Decodes a {@link Routable} from the given byte array. This uses the content of the byte array to diff --git a/storage/src/vespa/storage/storageserver/rpc/message_codec_provider.h b/storage/src/vespa/storage/storageserver/rpc/message_codec_provider.h index 7643297760b..f8585abe3f5 100644 --- a/storage/src/vespa/storage/storageserver/rpc/message_codec_provider.h +++ b/storage/src/vespa/storage/storageserver/rpc/message_codec_provider.h @@ -13,7 +13,7 @@ class WrappedCodec { const std::shared_ptr<const document::DocumentTypeRepo> _doc_type_repo; std::unique_ptr<mbusprot::ProtocolSerialization7> _codec; public: - WrappedCodec(std::shared_ptr<const document::DocumentTypeRepo> doc_type_repo); + explicit WrappedCodec(std::shared_ptr<const document::DocumentTypeRepo> doc_type_repo); ~WrappedCodec(); [[nodiscard]] const mbusprot::ProtocolSerialization7& codec() const noexcept { return *_codec; } @@ -31,7 +31,7 @@ class MessageCodecProvider { mutable std::shared_mutex _rw_mutex; std::shared_ptr<WrappedCodec> _active_codec; public: - MessageCodecProvider(std::shared_ptr<const document::DocumentTypeRepo> doc_type_repo); + explicit MessageCodecProvider(std::shared_ptr<const document::DocumentTypeRepo> doc_type_repo); ~MessageCodecProvider(); [[nodiscard]] std::shared_ptr<const WrappedCodec> wrapped_codec() const noexcept; diff --git a/storageapi/src/vespa/storageapi/mbusprot/protocolserialization7.h b/storageapi/src/vespa/storageapi/mbusprot/protocolserialization7.h index e7a97c6e3d5..8f9a5d8df8d 100644 --- a/storageapi/src/vespa/storageapi/mbusprot/protocolserialization7.h +++ b/storageapi/src/vespa/storageapi/mbusprot/protocolserialization7.h @@ -13,7 +13,7 @@ namespace storage::mbusprot { class ProtocolSerialization7 final : public ProtocolSerialization { const std::shared_ptr<const document::DocumentTypeRepo> _repo; public: - ProtocolSerialization7(std::shared_ptr<const document::DocumentTypeRepo> repo); + explicit ProtocolSerialization7(std::shared_ptr<const document::DocumentTypeRepo> repo); const document::DocumentTypeRepo& type_repo() const noexcept { return *_repo; } diff --git a/storageapi/src/vespa/storageapi/mbusprot/storageprotocol.h b/storageapi/src/vespa/storageapi/mbusprot/storageprotocol.h index 748fee93a86..ad9ee908424 100644 --- a/storageapi/src/vespa/storageapi/mbusprot/storageprotocol.h +++ b/storageapi/src/vespa/storageapi/mbusprot/storageprotocol.h @@ -15,7 +15,7 @@ public: static mbus::string NAME; - StorageProtocol(const std::shared_ptr<const document::DocumentTypeRepo>); + explicit StorageProtocol(const std::shared_ptr<const document::DocumentTypeRepo>); ~StorageProtocol() override; const mbus::string& getName() const override { return NAME; } |