Skip to content

Commit 544b2ac

Browse files
authored
Add namespace indicator for runtime_error (#476)
This will collide with o2::framework::runtime_error
1 parent 632a16c commit 544b2ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Framework/src/HistoProducer.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ framework::AlgorithmSpec getHistoPrinterAlgorithm()
120120
shared_ptr<const TH1F> th1f = nullptr;
121121
try {
122122
array = processingContext.inputs().get<TObjArray*>("in");
123-
} catch (runtime_error& e) {
123+
} catch (std::runtime_error& e) {
124124
// we failed to get the TObjArray, let's try a TH1F. If it fails it will throw.
125125
th1f = processingContext.inputs().get<TH1F*>("in");
126126
}

0 commit comments

Comments
 (0)