Skip to content

Commit

Permalink
fix a bug without boolean return
Browse files Browse the repository at this point in the history
  • Loading branch information
wenqiang-gu committed Dec 5, 2024
1 parent 42829bf commit 863248a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/LowmemTiling.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ int WCP2dToy::LowmemTiling::further_mergewire(GeomWireSelection& allwire){


bool WCP2dToy::LowmemTiling::replace_wire(WCP::MergeGeomWire *old_wire, WCP::MergeGeomWire *wire){

// replace the old_wire by the new wire
// assume the new wire contains the old wire ...
// deal with the wire type map // no point to do this if the wire is bad ...
Expand Down Expand Up @@ -550,6 +551,7 @@ bool WCP2dToy::LowmemTiling::replace_wire(WCP::MergeGeomWire *old_wire, WCP::Mer


delete old_wire;
return true;
}

bool WCP2dToy::LowmemTiling::remove_wire_clear(MergeGeomWire *wire){
Expand Down

0 comments on commit 863248a

Please sign in to comment.