summaryrefslogtreecommitdiff
path: root/src/mongo/unittest/unittest.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/unittest/unittest.h')
-rw-r--r--src/mongo/unittest/unittest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/unittest/unittest.h b/src/mongo/unittest/unittest.h
index 5427e84dc77..f96a2c31a57 100644
--- a/src/mongo/unittest/unittest.h
+++ b/src/mongo/unittest/unittest.h
@@ -351,7 +351,7 @@ namespace mongo {
TestAssertion( const std::string& file, unsigned line );
~TestAssertion();
- void fail( const std::string& message) const;
+ MONGO_COMPILER_NORETURN void fail( const std::string& message) const;
void failIf( bool flag, const std::string &message ) const {
if ( flag ) fail( message );
}