diff options
author | ADAM David Alan Martin <adam.martin@10gen.com> | 2019-08-15 04:10:04 -0400 |
---|---|---|
committer | ADAM David Alan Martin <adam.martin@10gen.com> | 2019-08-15 04:10:04 -0400 |
commit | 7eff30764a9d2137fc761e218dc2a58b6c006539 (patch) | |
tree | fc7c12ef222fb11353e9ac48dc7e1873785ba97d /src/mongo/unittest | |
parent | a810b1a727b2b4059c74bc9a17e04b0284ba9597 (diff) | |
download | mongo-7eff30764a9d2137fc761e218dc2a58b6c006539.tar.gz |
SERVER-41961 Remove the `NOINLINE_DECL` and replace with `MONGO_COMPILER_NOINLINE`
Also removed the `PACKED_DECL`, since it isn't used.
Diffstat (limited to 'src/mongo/unittest')
-rw-r--r-- | src/mongo/unittest/unittest.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/unittest/unittest.h b/src/mongo/unittest/unittest.h index cbd24e73f05..2d32dbc9cad 100644 --- a/src/mongo/unittest/unittest.h +++ b/src/mongo/unittest/unittest.h @@ -661,12 +661,12 @@ private: } template <typename A, typename B> - NOINLINE_DECL ComparisonAssertion(const char* theFile, - unsigned theLine, - StringData aExpression, - StringData bExpression, - const A& a, - const B& b) { + MONGO_COMPILER_NOINLINE ComparisonAssertion(const char* theFile, + unsigned theLine, + StringData aExpression, + StringData bExpression, + const A& a, + const B& b) { if (comparator(OpTag<op>{})(a, b)) { return; } |