App: Replace C cast

This commit is contained in:
marioalexis
2022-05-19 11:11:00 -03:00
committed by Chris Hennes
parent 78cc184d50
commit 9ccb9eecb2
8 changed files with 17 additions and 17 deletions

View File

@@ -247,7 +247,7 @@ PyObject* PropertyContainerPy::setPropertyStatus(PyObject *args)
bool value = true;
if (item.isString()) {
const auto &statusMap = getStatusMap();
auto v = (std::string)Py::String(item);
auto v = static_cast<std::string>(Py::String(item));
if(v.size()>1 && v[0] == '-') {
value = false;
v = v.substr(1);