aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/libsample/protected.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/tests/libsample/protected.h')
-rw-r--r--sources/shiboken6/tests/libsample/protected.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken6/tests/libsample/protected.h b/sources/shiboken6/tests/libsample/protected.h
index 0f4fbf299..3085c7c2d 100644
--- a/sources/shiboken6/tests/libsample/protected.h
+++ b/sources/shiboken6/tests/libsample/protected.h
@@ -50,8 +50,8 @@ protected:
inline int protectedSum(int a0, int a1) { return a0 + a1; }
inline int modifiedProtectedSum(int a0, int a1) { return a0 + a1; }
inline static const char* protectedStatic() { return "protectedStatic"; }
- inline const char* dataTypeName(void *data = nullptr) const { return "pointer"; }
- inline const char* dataTypeName(int data) const { return "integer"; }
+ const char *dataTypeName(void *data = nullptr) const;
+ const char *dataTypeName(int data) const;
private:
std::string m_name;