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 27, 2024
1 parent 944a1f0 commit 5dddbe1
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 5dddbe1

Please sign in to comment.