File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -748,7 +748,7 @@ int AdaptiveSampler::mergeState(const std::string filename)
748748 fMaximum_cells = keyval.at (" fMaximum_cells" );
749749 fEfficiency_target = keyval.at (" fEfficiency_target" );
750750 }
751- catch (std::exception e) {
751+ catch (std::exception & e) {
752752 std::cerr << " AdaptiveSampler::mergeState warning - "
753753 << " required keyword missing in " << filename
754754 << std::endl;
Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ void GlueXSteppingAction::UserSteppingAction(const G4Step* step)
219219 try {
220220 proftree = bgprofiles.at (det);
221221 }
222- catch (std::out_of_range err) {
222+ catch (std::out_of_range & err) {
223223 std::stringstream names;
224224 names << " det" << det;
225225 std::stringstream titles;
You can’t perform that action at this time.
0 commit comments