summaryrefslogtreecommitdiff
path: root/src/mongo/base
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2015-03-06 11:50:05 -0500
committerEric Milkie <milkie@10gen.com>2015-03-16 09:08:06 -0400
commitd7563a168a8862e5c50f32829d17b628305a93ad (patch)
tree0dc69faf211892fa0724ac677f3da009289d87e6 /src/mongo/base
parent629eb083a2094b7a096b29d66504a8f34e1a1d60 (diff)
downloadmongo-d7563a168a8862e5c50f32829d17b628305a93ad.tar.gz
SERVER-17601 replace global variable debug and enum DEBUG_BUILD
Diffstat (limited to 'src/mongo/base')
-rw-r--r--src/mongo/base/checked_cast.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/base/checked_cast.h b/src/mongo/base/checked_cast.h
index 3d3c1c964c5..c4e9fe2ffc1 100644
--- a/src/mongo/base/checked_cast.h
+++ b/src/mongo/base/checked_cast.h
@@ -71,7 +71,7 @@ namespace mongo {
template<typename T, typename U>
T checked_cast(const U& u) {
- return checked_cast_impl<debug>::cast<T>(u);
+ return checked_cast_impl<kDebugBuild>::cast<T>(u);
};
} // namespace mongo