CXmlFileIncluderElement constructor cleanup
Made _bValidateSchemasOnStart attribute initialized as part of the
constructor's initializer list.
Change-Id: I8f345b5c17f33e012b69005e01dc31a270e41778
Signed-off-by: Patrick Benavoli <patrick.benavoli@intel.com>
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