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
/
uniform-map.h
diff --git
a/dali/internal/update/common/uniform-map.h
b/dali/internal/update/common/uniform-map.h
index
d34c014
..
9b5bb4c
100644
(file)
--- a/
dali/internal/update/common/uniform-map.h
+++ b/
dali/internal/update/common/uniform-map.h
@@
-74,7
+74,19
@@
public:
class Observer
{
public:
class Observer
{
public:
+
+ /**
+ * Inform observer that uniform mappings have been changed
+ * @param mappings
+ */
virtual void UniformMappingsChanged(const UniformMap& mappings) = 0;
virtual void UniformMappingsChanged(const UniformMap& mappings) = 0;
+
+ protected:
+
+ /**
+ * Virtual destructor, no deletion through this interface
+ */
+ virtual ~Observer() {}
};
/**
};
/**