summaryrefslogtreecommitdiff
path: root/src/mongo/db/stats/snapshots.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/stats/snapshots.cpp')
-rw-r--r--src/mongo/db/stats/snapshots.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/stats/snapshots.cpp b/src/mongo/db/stats/snapshots.cpp
index 81aa221e9a1..8acf20b7e7a 100644
--- a/src/mongo/db/stats/snapshots.cpp
+++ b/src/mongo/db/stats/snapshots.cpp
@@ -93,7 +93,7 @@ StatusWith<SnapshotDiff> Snapshots::computeDelta() {
}
// The following logic depends on there being exactly 2 stored snapshots
- BOOST_STATIC_ASSERT(kNumSnapshots == 2);
+ static_assert(kNumSnapshots == 2, "kNumSnapshots == 2");
// Current and previous napshot alternates between indexes 0 and 1
int currIdx = _loc;