From: azv Date: Tue, 16 Nov 2021 11:56:11 +0000 (+0300) Subject: Minor fix related to coding style X-Git-Tag: V9_9_0a1~24 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a74fbd0025bc36fc76b5559d960857f419446ecb;p=modules%2Fshaper.git Minor fix related to coding style --- diff --git a/src/Config/Config_ModuleReader.cpp b/src/Config/Config_ModuleReader.cpp index ca2bd6d85..20ec732e9 100644 --- a/src/Config/Config_ModuleReader.cpp +++ b/src/Config/Config_ModuleReader.cpp @@ -201,7 +201,6 @@ namespace { // Handle Python exception // Reuse code from KERNEL module - typedef struct { PyObject_HEAD diff --git a/src/ConstructionAPI/ConstructionAPI_Plane.cpp b/src/ConstructionAPI/ConstructionAPI_Plane.cpp index 3933b1623..5318cb90b 100644 --- a/src/ConstructionAPI/ConstructionAPI_Plane.cpp +++ b/src/ConstructionAPI/ConstructionAPI_Plane.cpp @@ -294,7 +294,8 @@ PlanePtr addPlane(const std::shared_ptr& thePart, { // TODO(spo): check that thePart is not empty std::shared_ptr aFeature = thePart->addFeature(ConstructionAPI_Plane::ID()); - return PlanePtr(new ConstructionAPI_Plane(aFeature, theFace, theDistance, theIsReverse, theNbCopies)); + return PlanePtr(new ConstructionAPI_Plane(aFeature, theFace, theDistance, + theIsReverse, theNbCopies)); } //================================================================================================== diff --git a/src/ModelAPI/ModelAPI_Events.cpp b/src/ModelAPI/ModelAPI_Events.cpp index 506b26189..bfe2cdb2a 100644 --- a/src/ModelAPI/ModelAPI_Events.cpp +++ b/src/ModelAPI/ModelAPI_Events.cpp @@ -189,7 +189,8 @@ const std::string& ModelAPI_ParameterEvalMessage::error() const } /// Creates an empty message -ModelAPI_ImportParametersMessage::ModelAPI_ImportParametersMessage(const Events_ID theID, const void* theSender) +ModelAPI_ImportParametersMessage::ModelAPI_ImportParametersMessage(const Events_ID theID, + const void* theSender) :Events_Message(theID, theSender) { diff --git a/src/ModelAPI/ModelAPI_Events.h b/src/ModelAPI/ModelAPI_Events.h index 2ebd25b0f..61b4d7bf0 100644 --- a/src/ModelAPI/ModelAPI_Events.h +++ b/src/ModelAPI/ModelAPI_Events.h @@ -380,7 +380,8 @@ public: } /// Creates an empty message - MODELAPI_EXPORT ModelAPI_ImportParametersMessage(const Events_ID theID, const void* theSender = 0); + MODELAPI_EXPORT ModelAPI_ImportParametersMessage(const Events_ID theID, + const void* theSender = 0); /// The virtual destructor MODELAPI_EXPORT virtual ~ModelAPI_ImportParametersMessage();