summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Benavoli <patrick.benavoli@intel.com>2014-09-20 21:32:54 +0200
committerEric Laurent <elaurent@google.com>2015-04-24 13:39:13 -0700
commit9ad87f08eb4cfa8752f4b9e7b9deb3bd219ff591 (patch)
tree6f1e479e517401f546cb1fa5853217e95c7edec3
parent76fa9021317cc7f93f494795baf8c18f871ad3e5 (diff)
downloadexternal_parameter-framework-9ad87f08eb4cfa8752f4b9e7b9deb3bd219ff591.zip
external_parameter-framework-9ad87f08eb4cfa8752f4b9e7b9deb3bd219ff591.tar.gz
external_parameter-framework-9ad87f08eb4cfa8752f4b9e7b9deb3bd219ff591.tar.bz2
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>
-rw-r--r--parameter/XmlFileIncluderElement.cpp5
1 files 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