From 9ad87f08eb4cfa8752f4b9e7b9deb3bd219ff591 Mon Sep 17 00:00:00 2001 From: Patrick Benavoli Date: Sat, 20 Sep 2014 21:32:54 +0200 Subject: CXmlFileIncluderElement constructor cleanup Made _bValidateSchemasOnStart attribute initialized as part of the constructor's initializer list. Change-Id: I8f345b5c17f33e012b69005e01dc31a270e41778 Signed-off-by: Patrick Benavoli --- parameter/XmlFileIncluderElement.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/parameter/XmlFileIncluderElement.cpp b/parameter/XmlFileIncluderElement.cpp index e9b95cd..693b6fd 100644 --- a/parameter/XmlFileIncluderElement.cpp +++ b/parameter/XmlFileIncluderElement.cpp @@ -38,10 +38,9 @@ #define base CKindElement CXmlFileIncluderElement::CXmlFileIncluderElement(const std::string& strName, const std::string& strKind, - bool bValidateWithSchemas) : base(strName, - strKind) + bool bValidateWithSchemas) + : base(strName, strKind), _bValidateSchemasOnStart(bValidateWithSchemas) { - _bValidateSchemasOnStart = bValidateWithSchemas; } // From IXmlSink -- cgit v1.1