From 6e93b33179e71abce820e534b3d32f1e593f71ca Mon Sep 17 00:00:00 2001 From: Mathias Stearn Date: Fri, 12 Sep 2014 12:53:44 -0400 Subject: [PATCH] SERVER-15111 use boost 1.49 compatible copy_file --- src/mongo/shell/shell_utils_extended.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mongo/shell/shell_utils_extended.cpp b/src/mongo/shell/shell_utils_extended.cpp index 3f229a3963cd5..dd416eb6e0972 100644 --- a/src/mongo/shell/shell_utils_extended.cpp +++ b/src/mongo/shell/shell_utils_extended.cpp @@ -225,7 +225,7 @@ namespace mongo { const std::string source = it.next().str(); const std::string destination = it.next().str(); - boost::filesystem::copy(source, destination); + boost::filesystem::copy_file(source, destination); return undefinedReturn; }