Skip to content

Commit f2d5253

Browse files
committed
utils.h: mitigated bugprone-exception-escape clang-tidy warning
1 parent c22e3dc commit f2d5253

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/utils.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ struct SelectMapValues {
5454
struct OnExit {
5555
std::function<void()> f;
5656

57+
// NOLINTNEXTLINE(bugprone-exception-escape) - reported with libc++ for any files which includes this (even if not used)
5758
~OnExit() {
5859
f();
5960
}

0 commit comments

Comments
 (0)