diff options
author | John Ehresman <jpe@wingware.com> | 2014-04-16 12:08:20 -0700 |
---|---|---|
committer | Roman Lacko <backup.rlacko@gmail.com> | 2014-04-16 23:12:49 +0200 |
commit | bca7c117e141ed78b4666c7a8b868a180bd18173 (patch) | |
tree | 0cfb62f4fe957eb4e9d12dfe3adf7c8a707c693d /tests | |
parent | ebf3ba51187b6bb54cf819e5a0101c2f75e11de1 (diff) |
Remove protected from samblebinding test
The protected sections triggered a generation bug when avoiding
the protected hack
Change-Id: I6346cdb74a25f1ddf49263d9f74670a3b105b07a
Reviewed-by: Matthew Woehlke <mw_triad@users.sourceforge.net>
Reviewed-by: Roman Lacko <backup.rlacko@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/libsample/photon.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/libsample/photon.h b/tests/libsample/photon.h index 1f8483ef4..4662f36a6 100644 --- a/tests/libsample/photon.h +++ b/tests/libsample/photon.h @@ -49,10 +49,10 @@ public: template <class T> bool isType() { return type() == T::staticType; } bool isType(ClassType t) { return type() == t; } -protected: virtual ClassType type() const { return BaseType; }; static const ClassType staticType = BaseType; +protected: int m_value; }; @@ -78,7 +78,6 @@ public: static inline TemplateBase<CLASS_TYPE>* passPointerThrough(TemplateBase<CLASS_TYPE>* obj) { return obj; } -protected: virtual ClassType type() const { return CLASS_TYPE; } static const ClassType staticType = CLASS_TYPE; }; |