summaryrefslogtreecommitdiff
path: root/src/mongo/unittest
diff options
context:
space:
mode:
authorADAM David Alan Martin <adam.martin@10gen.com>2019-08-15 04:10:04 -0400
committerADAM David Alan Martin <adam.martin@10gen.com>2019-08-15 04:10:04 -0400
commit7eff30764a9d2137fc761e218dc2a58b6c006539 (patch)
treefc7c12ef222fb11353e9ac48dc7e1873785ba97d /src/mongo/unittest
parenta810b1a727b2b4059c74bc9a17e04b0284ba9597 (diff)
downloadmongo-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.h12
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;
}