From 7f15d2612d450dd430a1288052bc408f3bb1fcd9 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Mon, 21 Jul 2014 11:28:54 +0200 Subject: fix -Werror=extra: base class ‘class salhelper::SimpleReferenceObject’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit should be explicitly initialized in the copy constructor Change-Id: If375412e43bad6bced7bd5c69578f998b9e6618c --- include/connectivity/CommonTools.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/connectivity') 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) { -- cgit