diff options
author | Andrew Morrow <acm@mongodb.com> | 2015-07-06 21:06:36 -0400 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2015-07-09 13:49:39 -0400 |
commit | 932e768dc264865d683c113e35985b78425f78d9 (patch) | |
tree | 3b0d01bb663745e9b366daef53633ca75fbf5e59 /src/mongo/db/stats | |
parent | 7e6df189868bdb2e2b991f0733dc1486b41c69b1 (diff) | |
download | mongo-932e768dc264865d683c113e35985b78425f78d9.tar.gz |
SERVER-19313 Remove some obsoleted usages of boost
Diffstat (limited to 'src/mongo/db/stats')
-rw-r--r-- | src/mongo/db/stats/snapshots.cpp | 2 |
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; |