summaryrefslogtreecommitdiff
path: root/include/connectivity
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-07-21 11:28:54 +0200
committerMichael Stahl <mstahl@redhat.com>2014-07-21 11:28:54 +0200
commit7f15d2612d450dd430a1288052bc408f3bb1fcd9 (patch)
tree240ffd26e630ba30996338cb555bcd3fdd66ee4a /include/connectivity
parentc5ed52b1cd6f22787c94bec035ceecf9e1da3271 (diff)
fix -Werror=extra: base class ‘class salhelper::SimpleReferenceObject’
should be explicitly initialized in the copy constructor Change-Id: If375412e43bad6bced7bd5c69578f998b9e6618c
Diffstat (limited to 'include/connectivity')
-rw-r--r--include/connectivity/CommonTools.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/connectivity/CommonTools.hxx b/include/connectivity/CommonTools.hxx
index 1ef5908bc23e..cda2f65df144 100644
--- a/include/connectivity/CommonTools.hxx
+++ b/include/connectivity/CommonTools.hxx
@@ -75,7 +75,10 @@ namespace connectivity
ORefVector() {}
ORefVector(size_t _st) : m_vector(_st) {}
- ORefVector(const ORefVector& _rRH) : m_vector(_rRH.m_vector) {}
+ ORefVector(const ORefVector& rOther)
+ : salhelper::SimpleReferenceObject()
+ , m_vector(rOther.m_vector)
+ {}
ORefVector& operator=(const ORefVector& _rRH)
{