Skip to content

Commit

Permalink
adding braces
Browse files Browse the repository at this point in the history
  • Loading branch information
gangatp committed Dec 18, 2024
1 parent 963d9b4 commit adcc55b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Source/Model/Classes/NMR_ModelTriangleSet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,10 @@ namespace NMR {
{
auto pTriangleSet = std::make_shared<CModelTriangleSet>(m_sName, sIdentifier);

Check warning on line 88 in Source/Model/Classes/NMR_ModelTriangleSet.cpp

View check run for this annotation

Codecov / codecov/patch

Source/Model/Classes/NMR_ModelTriangleSet.cpp#L88

Added line #L88 was not covered by tests

for (auto nTriangleIndex : m_sTriangles)
for (auto nTriangleIndex : m_sTriangles)

Check warning on line 90 in Source/Model/Classes/NMR_ModelTriangleSet.cpp

View check run for this annotation

Codecov / codecov/patch

Source/Model/Classes/NMR_ModelTriangleSet.cpp#L90

Added line #L90 was not covered by tests
{
pTriangleSet->m_sTriangles.insert(nTriangleIndex);
}

Check warning on line 93 in Source/Model/Classes/NMR_ModelTriangleSet.cpp

View check run for this annotation

Codecov / codecov/patch

Source/Model/Classes/NMR_ModelTriangleSet.cpp#L92-L93

Added lines #L92 - L93 were not covered by tests

return pTriangleSet;
}

Check warning on line 96 in Source/Model/Classes/NMR_ModelTriangleSet.cpp

View check run for this annotation

Codecov / codecov/patch

Source/Model/Classes/NMR_ModelTriangleSet.cpp#L95-L96

Added lines #L95 - L96 were not covered by tests
Expand All @@ -99,7 +101,9 @@ namespace NMR {
throw CNMRException(NMR_ERROR_INVALIDPARAM);

Check warning on line 101 in Source/Model/Classes/NMR_ModelTriangleSet.cpp

View check run for this annotation

Codecov / codecov/patch

Source/Model/Classes/NMR_ModelTriangleSet.cpp#L100-L101

Added lines #L100 - L101 were not covered by tests

for (auto nTriangleIndex : pTriangleSet->m_sTriangles)

Check warning on line 103 in Source/Model/Classes/NMR_ModelTriangleSet.cpp

View check run for this annotation

Codecov / codecov/patch

Source/Model/Classes/NMR_ModelTriangleSet.cpp#L103

Added line #L103 was not covered by tests
{
m_sTriangles.insert(nTriangleIndex);
}

Check warning on line 106 in Source/Model/Classes/NMR_ModelTriangleSet.cpp

View check run for this annotation

Codecov / codecov/patch

Source/Model/Classes/NMR_ModelTriangleSet.cpp#L105-L106

Added lines #L105 - L106 were not covered by tests

}

Check warning on line 108 in Source/Model/Classes/NMR_ModelTriangleSet.cpp

View check run for this annotation

Codecov / codecov/patch

Source/Model/Classes/NMR_ModelTriangleSet.cpp#L108

Added line #L108 was not covered by tests

Expand Down

0 comments on commit adcc55b

Please sign in to comment.