summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/databases_cloner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/databases_cloner.cpp')
-rw-r--r--src/mongo/db/repl/databases_cloner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/databases_cloner.cpp b/src/mongo/db/repl/databases_cloner.cpp
index 960d84fe960..ac3bc398059 100644
--- a/src/mongo/db/repl/databases_cloner.cpp
+++ b/src/mongo/db/repl/databases_cloner.cpp
@@ -227,7 +227,7 @@ Status DatabasesCloner::startup() noexcept {
return Status::OK();
}
-void DatabasesCloner::setScheduleDbWorkFn_forTest(const CollectionCloner::ScheduleDbWorkFn& work) {
+void DatabasesCloner::setScheduleDbWorkFn_forTest(const ScheduleDbWorkFn& work) {
LockGuard lk(_mutex);
_scheduleDbWorkFn = work;
}