Fem: Apply clang-format

This commit is contained in:
wmayer
2023-09-22 12:38:37 +02:00
committed by wwmayer
parent 800006a505
commit 91a40b2007
79 changed files with 3674 additions and 2787 deletions

View File

@@ -22,8 +22,8 @@
#include "PreCompiled.h"
#include <App/DocumentObjectPy.h>
#include "FemSetGeometryObject.h"
#include <App/DocumentObjectPy.h>
using namespace Fem;
@@ -41,12 +41,11 @@ short FemSetGeometryObject::mustExecute() const
return 0;
}
PyObject *FemSetGeometryObject::getPyObject()
PyObject* FemSetGeometryObject::getPyObject()
{
if (PythonObject.is(Py::_None())){
if (PythonObject.is(Py::_None())) {
// ref counter is set to 1
PythonObject = Py::Object(new DocumentObjectPy(this),true);
PythonObject = Py::Object(new DocumentObjectPy(this), true);
}
return Py::new_reference_to(PythonObject);
}