From 976318fc05b374915f077404addd28c662f86e51 Mon Sep 17 00:00:00 2001 From: Aaron Jomy <75925957+aaronj0@users.noreply.github.com> Date: Fri, 27 Sep 2024 15:32:17 +0200 Subject: [PATCH] Update ProxyWrappers.cxx --- src/ProxyWrappers.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ProxyWrappers.cxx b/src/ProxyWrappers.cxx index 3fe4799..b26cad1 100644 --- a/src/ProxyWrappers.cxx +++ b/src/ProxyWrappers.cxx @@ -385,7 +385,7 @@ static int BuildScopeProxyDict(Cppyy::TCppScope_t scope, PyObject* pyclass, cons // two options: this is a static variable, or it is the enum value, the latter // already exists, so check for it and move on if set PyObject* eset = PyObject_GetAttrString(pyclass, - const_cast(Cppyy::GetScopedFinalName(datamember).c_str())); + const_cast(Cppyy::GetFinalName(datamember).c_str())); if (eset) { Py_DECREF(eset); continue;