Skip to content

Commit

Permalink
Update Examples/Algorithms/Geant4/src/SensitiveSteppingAction.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
asalzburger and coderabbitai[bot] committed Dec 2, 2024
1 parent 4c2a642 commit c03254d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Examples/Algorithms/Geant4/src/SensitiveSteppingAction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ void SensitiveSteppingAction::UserSteppingAction(const G4Step* step) {
std::string volumeName = volume->GetName();

if (volumeName.find(SensitiveSurfaceMapper::mappingPrefix) ==
std::string_view::npos &&
std::string::npos &&
!m_cfg.stepLogging) {
return;
}
Expand Down

0 comments on commit c03254d

Please sign in to comment.