summaryrefslogtreecommitdiff
path: root/src/mongo/s/request.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/request.h')
-rw-r--r--src/mongo/s/request.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/s/request.h b/src/mongo/s/request.h
index 70923f6737a..59aaf9843c3 100644
--- a/src/mongo/s/request.h
+++ b/src/mongo/s/request.h
@@ -53,16 +53,16 @@ namespace mongo {
}
DBConfigPtr getConfig() const {
- assert( _didInit );
+ verify( _didInit );
return _config;
}
bool isShardingEnabled() const {
- assert( _didInit );
+ verify( _didInit );
return _config->isShardingEnabled();
}
ChunkManagerPtr getChunkManager() const {
- assert( _didInit );
+ verify( _didInit );
return _chunkManager;
}