summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/MetricsAdminI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/MetricsAdminI.cpp')
-rw-r--r--cpp/src/Ice/MetricsAdminI.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/cpp/src/Ice/MetricsAdminI.cpp b/cpp/src/Ice/MetricsAdminI.cpp
index 44fa3baa450..d8f03c8b0f6 100644
--- a/cpp/src/Ice/MetricsAdminI.cpp
+++ b/cpp/src/Ice/MetricsAdminI.cpp
@@ -145,6 +145,11 @@ MetricsMapI::RegExp::match(const string& value)
#endif
}
+MetricsMapI::~MetricsMapI()
+{
+ // Out of line to avoid weak vtable
+}
+
MetricsMapI::MetricsMapI(const std::string& mapPrefix, const PropertiesPtr& properties) :
_properties(properties->getPropertiesForPrefix(mapPrefix)),
_retain(properties->getPropertyAsIntWithDefault(mapPrefix + "RetainDetached", 10)),
@@ -213,6 +218,11 @@ MetricsMapI::getProperties() const
return _properties;
}
+MetricsMapFactory::~MetricsMapFactory()
+{
+ // Out of line to avoid weak vtable
+}
+
MetricsMapFactory::MetricsMapFactory(Updater* updater) : _updater(updater)
{
}