aboutsummaryrefslogtreecommitdiffstats
path: root/storageapi
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2020-11-27 14:41:09 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2020-11-27 14:41:09 +0000
commitf1de9102c79fb4c07c2a291c9318aa6605fa4d03 (patch)
tree00f6f3d758a0f95194e1c7934cb44a24289f76b1 /storageapi
parent17d0bc7e91a0c055f57b002b6f501fea36235f99 (diff)
Use explicit on the right places.
Diffstat (limited to 'storageapi')
-rw-r--r--storageapi/src/vespa/storageapi/mbusprot/protocolserialization7.h2
-rw-r--r--storageapi/src/vespa/storageapi/mbusprot/storageprotocol.h2
2 files changed, 2 insertions, 2 deletions
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; }