Skip to content

Commit 0fe6f80

Browse files
committed
Improved code style consistency.
1 parent 89c9ba6 commit 0fe6f80

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

GroupComment.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ GroupComment::GroupComment(const std::string ID)
1313
SetSize(ImVec2(200, 200));
1414
}
1515

16-
GroupComment::GroupComment(const GroupComment& Src)
16+
GroupComment::GroupComment(const GroupComment& Other)
1717
{
18-
ParentArea = Src.ParentArea;
18+
ParentArea = Other.ParentArea;
1919
ID = NODE_CORE.GetUniqueHexID();
20-
Position = Src.Position;
21-
Size = Src.Size;
22-
Caption = Src.Caption;
23-
bMoveElementsWithComment = Src.bMoveElementsWithComment;
24-
BackgroundColor = Src.BackgroundColor;
20+
Position = Other.Position;
21+
Size = Other.Size;
22+
Caption = Other.Caption;
23+
bMoveElementsWithComment = Other.bMoveElementsWithComment;
24+
BackgroundColor = Other.BackgroundColor;
2525
}
2626

2727
std::string GroupComment::GetID()

GroupComment.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ namespace VisNodeSys
4747
bool bMoveElementsWithComment = true;
4848
public:
4949
GroupComment(std::string ID = "");
50-
GroupComment(const GroupComment& Src);
50+
GroupComment(const GroupComment& Other);
5151

5252
std::string GetID();
5353

SubSystems/VisualNodeArea/VisualNodeArea.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,8 @@ std::string NodeArea::ToJson() const
341341
Root["renderOffset"]["x"] = RenderOffset.x;
342342
Root["renderOffset"]["y"] = RenderOffset.y;
343343

344-
Json::StreamWriterBuilder builder;
345-
const std::string JsonText = Json::writeString(builder, Root);
344+
Json::StreamWriterBuilder Builder;
345+
const std::string JsonText = Json::writeString(Builder, Root);
346346

347347
return JsonText;
348348
}

0 commit comments

Comments
 (0)