diff options
Diffstat (limited to 'src/FbTk/Theme.hh')
-rw-r--r-- | src/FbTk/Theme.hh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/FbTk/Theme.hh b/src/FbTk/Theme.hh index 1ae3387..c331ba5 100644 --- a/src/FbTk/Theme.hh +++ b/src/FbTk/Theme.hh | |||
@@ -127,8 +127,10 @@ public: | |||
127 | virtual Subject &reconfigSig() = 0; | 127 | virtual Subject &reconfigSig() = 0; |
128 | virtual const Subject &reconfigSig() const = 0; | 128 | virtual const Subject &reconfigSig() const = 0; |
129 | 129 | ||
130 | virtual BaseTheme *operator ->() = 0; | 130 | virtual BaseTheme &operator *() = 0; |
131 | virtual const BaseTheme *operator ->() const = 0; | 131 | virtual const BaseTheme &operator *() const = 0; |
132 | virtual BaseTheme *operator ->() { return &(**this); } | ||
133 | virtual const BaseTheme *operator ->() const { return &(**this); } | ||
132 | }; | 134 | }; |
133 | 135 | ||
134 | /// Singleton theme manager | 136 | /// Singleton theme manager |