summaryrefslogtreecommitdiffstats
path: root/messagebus
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-05-04 21:57:23 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2017-05-05 10:39:59 +0200
commit1464c20e9a2f6c287fb91961cfefa8b7950e6113 (patch)
tree1d81e3c6e21d5e10e4fe4830b61c13a4afc4eb57 /messagebus
parentacafb15ecf0663c2ed28c6224f0c8f089972d80b (diff)
Deinline after gcc 7 advise
Diffstat (limited to 'messagebus')
-rw-r--r--messagebus/src/vespa/messagebus/protocolrepository.cpp3
-rw-r--r--messagebus/src/vespa/messagebus/protocolrepository.h3
2 files changed, 5 insertions, 1 deletions
diff --git a/messagebus/src/vespa/messagebus/protocolrepository.cpp b/messagebus/src/vespa/messagebus/protocolrepository.cpp
index 934705ba942..1ecbec3bb38 100644
--- a/messagebus/src/vespa/messagebus/protocolrepository.cpp
+++ b/messagebus/src/vespa/messagebus/protocolrepository.cpp
@@ -6,6 +6,9 @@ LOG_SETUP(".protocolrepository");
namespace mbus {
+ProtocolRepository::ProtocolRepository() {}
+ProtocolRepository::~ProtocolRepository() {}
+
void
ProtocolRepository::clearPolicyCache()
{
diff --git a/messagebus/src/vespa/messagebus/protocolrepository.h b/messagebus/src/vespa/messagebus/protocolrepository.h
index 2a09e28bdc7..05e3cd8c4b5 100644
--- a/messagebus/src/vespa/messagebus/protocolrepository.h
+++ b/messagebus/src/vespa/messagebus/protocolrepository.h
@@ -23,7 +23,8 @@ private:
public:
ProtocolRepository(const ProtocolRepository &) = delete;
ProtocolRepository & operator = (const ProtocolRepository &) = delete;
- ProtocolRepository() = default;
+ ProtocolRepository();
+ ~ProtocolRepository();
/**
* Registers a protocol with this repository. This will overwrite any protocol that was registered earlier
* that has the same name. If this method detects a protocol replacement, it will clear its internal