From e15a268548d3af81fe24d4dc06ef1581fcb7514b Mon Sep 17 00:00:00 2001 From: sfc-gh-tclinkenbeard Date: Wed, 21 Oct 2020 00:51:39 -0700 Subject: [PATCH] Use anonymous namespace for BackupContainerLocalDirectory helper functions --- fdbclient/BackupContainerLocalDirectory.actor.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fdbclient/BackupContainerLocalDirectory.actor.cpp b/fdbclient/BackupContainerLocalDirectory.actor.cpp index 4eba9bf72f..9b2a976376 100644 --- a/fdbclient/BackupContainerLocalDirectory.actor.cpp +++ b/fdbclient/BackupContainerLocalDirectory.actor.cpp @@ -22,7 +22,8 @@ #include "flow/actorcompiler.h" // This must be the last #include. -// TODO: Put in namespace +namespace { + class BackupFile : public IBackupFile, ReferenceCounted { public: BackupFile(std::string fileName, Reference file, std::string finalFullPath) @@ -77,6 +78,8 @@ ACTOR static Future listFiles_impl(st return results; } +} // namespace + void BackupContainerLocalDirectory::addref() { return ReferenceCounted::addref(); }