summaryrefslogtreecommitdiffstats
path: root/parameter/include
diff options
context:
space:
mode:
authorSebastien Gonzalve <sebastien.gonzalve@intel.com>2013-03-12 14:30:27 +0100
committerDavid Wagner <david.wagner@intel.com>2014-02-12 17:03:56 +0100
commitd7e4844d85db591a2ea235dd1b081c76e2f5cb9d (patch)
tree0fbd5a53da81d69d8e43739777016b9391a5b3e0 /parameter/include
parenta4c39f1a12cad5239c92387eef26d1d3b38f3a43 (diff)
downloadexternal_parameter-framework-d7e4844d85db591a2ea235dd1b081c76e2f5cb9d.zip
external_parameter-framework-d7e4844d85db591a2ea235dd1b081c76e2f5cb9d.tar.gz
external_parameter-framework-d7e4844d85db591a2ea235dd1b081c76e2f5cb9d.tar.bz2
Remove no-non-virtual-dtor flag
BZ: 111473 The warning non-virtual-dtor should not be ignored for the whole project, but only in the few cases where it it necessary. Change-Id: I0ede82a30f2cd055b789f7fb56104fb227934e6f Signed-off-by: Sebastien Gonzalve <sebastien.gonzalve@intel.com> Signed-off-by: Guilhem IMBERTON <guilhem.imberton@intel.com> Reviewed-on: http://android.intel.com:8080/110191 Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'parameter/include')
-rw-r--r--parameter/include/ParameterMgrPlatformConnector.h2
-rw-r--r--parameter/include/SelectionCriterionInterface.h3
-rw-r--r--parameter/include/SelectionCriterionTypeInterface.h3
3 files changed, 8 insertions, 0 deletions
diff --git a/parameter/include/ParameterMgrPlatformConnector.h b/parameter/include/ParameterMgrPlatformConnector.h
index 64394e4..ae3e216 100644
--- a/parameter/include/ParameterMgrPlatformConnector.h
+++ b/parameter/include/ParameterMgrPlatformConnector.h
@@ -38,6 +38,8 @@ public:
{
public:
virtual void log(bool bIsWarning, const std::string& strLog) = 0;
+ protected:
+ virtual ~ILogger() {}
};
// Construction
diff --git a/parameter/include/SelectionCriterionInterface.h b/parameter/include/SelectionCriterionInterface.h
index 9162486..fe5301f 100644
--- a/parameter/include/SelectionCriterionInterface.h
+++ b/parameter/include/SelectionCriterionInterface.h
@@ -32,4 +32,7 @@ public:
virtual int getCriterionState() const = 0;
virtual std::string getCriterionName() const = 0;
virtual const ISelectionCriterionTypeInterface* getCriterionType() const = 0;
+
+protected:
+ virtual ~ISelectionCriterionInterface() {}
};
diff --git a/parameter/include/SelectionCriterionTypeInterface.h b/parameter/include/SelectionCriterionTypeInterface.h
index 426d355..7d631d1 100644
--- a/parameter/include/SelectionCriterionTypeInterface.h
+++ b/parameter/include/SelectionCriterionTypeInterface.h
@@ -31,5 +31,8 @@ public:
virtual bool getLiteralValue(int iValue, std::string& strValue) const = 0;
virtual bool isTypeInclusive() const = 0;
virtual std::string getFormattedState(int iValue) const = 0;
+
+protected:
+ virtual ~ISelectionCriterionTypeInterface() {}
};