diff options
Diffstat (limited to 'sources/shiboken6/tests/libother/extendsnoimplicitconversion.h')
-rw-r--r-- | sources/shiboken6/tests/libother/extendsnoimplicitconversion.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/shiboken6/tests/libother/extendsnoimplicitconversion.h b/sources/shiboken6/tests/libother/extendsnoimplicitconversion.h index bf6cd736c..36d503fe8 100644 --- a/sources/shiboken6/tests/libother/extendsnoimplicitconversion.h +++ b/sources/shiboken6/tests/libother/extendsnoimplicitconversion.h @@ -13,8 +13,9 @@ public: explicit ExtendsNoImplicitConversion(int objId) : m_objId(objId) {}; inline int objId() const { return m_objId; } inline operator NoImplicitConversion() const { return NoImplicitConversion(m_objId); } + private: int m_objId; }; -#endif // EXTENDSNOIMPLICITCONVERSION_H +#endif // EXTENDSNOIMPLICITCONVERSION_H |