From bca7c117e141ed78b4666c7a8b868a180bd18173 Mon Sep 17 00:00:00 2001 From: John Ehresman Date: Wed, 16 Apr 2014 12:08:20 -0700 Subject: Remove protected from samblebinding test The protected sections triggered a generation bug when avoiding the protected hack Change-Id: I6346cdb74a25f1ddf49263d9f74670a3b105b07a Reviewed-by: Matthew Woehlke Reviewed-by: Roman Lacko --- tests/libsample/photon.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests') 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 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* passPointerThrough(TemplateBase* obj) { return obj; } -protected: virtual ClassType type() const { return CLASS_TYPE; } static const ClassType staticType = CLASS_TYPE; }; -- cgit v1.2.3