diff options
Diffstat (limited to 'src/mongo/util/invariant.h')
-rw-r--r-- | src/mongo/util/invariant.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/util/invariant.h b/src/mongo/util/invariant.h index 68a1bcb70d0..a630bbec7ef 100644 --- a/src/mongo/util/invariant.h +++ b/src/mongo/util/invariant.h @@ -42,7 +42,9 @@ namespace mongo { #error "Include assert_util.h instead of invariant.h." #endif -MONGO_COMPILER_NORETURN void invariantFailed(const char* expr, const char* file, unsigned line); +MONGO_COMPILER_NORETURN void invariantFailed(const char* expr, + const char* file, + unsigned line) noexcept; #define MONGO_invariant(_Expression) \ do { \ |