Skip to content

Commit

Permalink
Update ProxyWrappers.cxx
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronj0 committed Sep 30, 2024
1 parent 5a655a7 commit 976318f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ProxyWrappers.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -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<char*>(Cppyy::GetScopedFinalName(datamember).c_str()));
const_cast<char*>(Cppyy::GetFinalName(datamember).c_str()));
if (eset) {
Py_DECREF(eset);
continue;
Expand Down

0 comments on commit 976318f

Please sign in to comment.