Skip to content

Commit

Permalink
Some minor cleaning up.
Browse files Browse the repository at this point in the history
  • Loading branch information
agarny committed Oct 30, 2019
1 parent b6a77b7 commit fc5f70d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -213,7 +213,7 @@ static PyObject * DataStoreValuesDict_repr(DataStoreValuesDictObject *pValuesDic
goto error; // NOLINT(cppcoreguidelines-avoid-goto, hicpp-avoid-goto)
}

auto wrappedValue = PythonQtSupport::getInstanceWrapper(value);
PythonQtInstanceWrapper *wrappedValue = PythonQtSupport::getInstanceWrapper(value);

if (wrappedValue != nullptr) {
auto dataStoreValue = static_cast<DataStoreValue *>(wrappedValue->_objPointerCopy);
Expand Down
Expand Up @@ -265,7 +265,7 @@ static PyObject *closeSimulation(PyObject *self, PyObject *args)

if (PyTuple_Size(args) > 0) {
#include "pythonbegin.h"
auto wrappedSimulation = PythonQtSupport::getInstanceWrapper(PyTuple_GET_ITEM(args, 0)); // NOLINT(cppcoreguidelines-pro-type-cstyle-cast)
PythonQtInstanceWrapper *wrappedSimulation = PythonQtSupport::getInstanceWrapper(PyTuple_GET_ITEM(args, 0)); // NOLINT(cppcoreguidelines-pro-type-cstyle-cast)
#include "pythonend.h"

if (wrappedSimulation != nullptr) {
Expand Down

0 comments on commit fc5f70d

Please sign in to comment.