aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/objecttype.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libsample/objecttype.cpp')
-rw-r--r--tests/libsample/objecttype.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/libsample/objecttype.cpp b/tests/libsample/objecttype.cpp
index d5bdace14..5ff3c2f19 100644
--- a/tests/libsample/objecttype.cpp
+++ b/tests/libsample/objecttype.cpp
@@ -226,3 +226,10 @@ unsigned int objectTypeHash(const ObjectType* objectType)
return reinterpret_cast<std::size_t>(objectType);
}
+unsigned char ObjectType::callWithEnum(const Str& prefix, Event::EventType type, unsigned char value){
+ return value*value;
+}
+
+unsigned char ObjectType::callWithEnum(const Str& prefix, unsigned char value) {
+ return value;
+}