Skip to content

Commit 177713f

Browse files
committed
Fix gcc-8 compilation warning
1 parent 73634b6 commit 177713f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/constructor_stats.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ class ConstructorStats {
180180
}
181181
}
182182
}
183-
catch (std::out_of_range) {}
183+
catch (const std::out_of_range &) {}
184184
if (!t1) throw std::runtime_error("Unknown class passed to ConstructorStats::get()");
185185
auto &cs1 = get(*t1);
186186
// If we have both a t1 and t2 match, one is probably the trampoline class; return whichever

0 commit comments

Comments
 (0)