projects
/
platform
/
core
/
uifw
/
dali-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enable -Wnon-virtual-dtor to avoid incorrect C++ code sneaking in
[platform/core/uifw/dali-core.git]
/
dali
/
internal
/
update
/
common
/
property-owner.h
diff --git
a/dali/internal/update/common/property-owner.h
b/dali/internal/update/common/property-owner.h
index
3df069b
..
fa7bf46
100644
(file)
--- a/
dali/internal/update/common/property-owner.h
+++ b/
dali/internal/update/common/property-owner.h
@@
-76,6
+76,14
@@
public:
* may not be called (i.e. when shutting down).
*/
virtual void PropertyOwnerDestroyed( PropertyOwner& owner ) = 0;
+
+ protected:
+
+ /**
+ * Virtual destructor, no deletion through this interface
+ */
+ virtual ~Observer() {}
+
};
/**