Skip to content

Commit

Permalink
Fix syntax preventing MSBuild.
Browse files Browse the repository at this point in the history
  (not branchNode) -> (!branchNode)
  • Loading branch information
chir-set committed Nov 14, 2024
1 parent cc0b838 commit 08f7d78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BranchClipper/qSlicerBranchClipperModuleWidget.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ void qSlicerBranchClipperModuleWidget::onApply()
// Control branch model name.
std::string branchName = inputModelName + std::string("_Branch_") + std::to_string((int) i);
vtkMRMLNode * branchNode = this->mrmlScene()->AddNewNodeByClass("vtkMRMLModelNode");
if (not branchNode)
if (!branchNode)
{
cerr << "Could not add branch model: " << i << endl;
}
Expand Down

0 comments on commit 08f7d78

Please sign in to comment.