summaryrefslogtreecommitdiff
path: root/src/mongo/s/version_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/version_manager.h')
-rw-r--r--src/mongo/s/version_manager.h27
1 files changed, 13 insertions, 14 deletions
diff --git a/src/mongo/s/version_manager.h b/src/mongo/s/version_manager.h
index d1903b2d3eb..6dc6877d574 100644
--- a/src/mongo/s/version_manager.h
+++ b/src/mongo/s/version_manager.h
@@ -32,22 +32,21 @@
namespace mongo {
- class DBClientBase;
- class ShardConnection;
+class DBClientBase;
+class ShardConnection;
- class VersionManager {
- public:
- VersionManager() { }
+class VersionManager {
+public:
+ VersionManager() {}
- bool isVersionableCB(DBClientBase*);
- bool forceRemoteCheckShardVersionCB(const std::string&);
- bool checkShardVersionCB(DBClientBase*, const std::string&, bool, int);
- bool checkShardVersionCB(ShardConnection*, bool, int);
- void resetShardVersionCB(DBClientBase*);
+ bool isVersionableCB(DBClientBase*);
+ bool forceRemoteCheckShardVersionCB(const std::string&);
+ bool checkShardVersionCB(DBClientBase*, const std::string&, bool, int);
+ bool checkShardVersionCB(ShardConnection*, bool, int);
+ void resetShardVersionCB(DBClientBase*);
+};
- };
+extern VersionManager versionManager;
- extern VersionManager versionManager;
-
-} // namespace mongo
+} // namespace mongo