SwigValueWrapper::operator& should always have been const

This commit is contained in:
William S Fulton 2022-06-29 22:46:03 +01:00
commit 7cab5accef

View file

@ -683,7 +683,7 @@ public:
#else #else
operator T&() const { return *pointer.ptr; } operator T&() const { return *pointer.ptr; }
#endif #endif
T *operator&() { return pointer.ptr; } T *operator&() const { return pointer.ptr; }
};%} };%}
/* /*