summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/external_record_store.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/external_record_store.h')
-rw-r--r--src/mongo/db/storage/external_record_store.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/db/storage/external_record_store.h b/src/mongo/db/storage/external_record_store.h
index 152d766e6cb..ac0c61392c6 100644
--- a/src/mongo/db/storage/external_record_store.h
+++ b/src/mongo/db/storage/external_record_store.h
@@ -33,16 +33,8 @@
#include "mongo/db/catalog/virtual_collection_options.h"
#include "mongo/db/storage/record_store.h"
#include "mongo/util/assert_util.h"
-#include "mongo/util/errno_util.h"
namespace mongo {
-namespace {
-inline std::string getErrorMessage(StringData op, const std::string& path) {
- using namespace fmt::literals;
- return "Failed to {} {}: {}"_format(op, path, errorMessage(lastSystemError()));
-}
-} // namespace
-
class ExternalRecordStore : public RecordStore {
public:
ExternalRecordStore(StringData ns, const VirtualCollectionOptions& vopts);