mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 01:42:37 +08:00
Use anonymous namespace for BackupContainerLocalDirectory helper functions
This commit is contained in:
parent
961aeaecac
commit
e15a268548
@ -22,7 +22,8 @@
|
||||
|
||||
#include "flow/actorcompiler.h" // This must be the last #include.
|
||||
|
||||
// TODO: Put in namespace
|
||||
namespace {
|
||||
|
||||
class BackupFile : public IBackupFile, ReferenceCounted<BackupFile> {
|
||||
public:
|
||||
BackupFile(std::string fileName, Reference<IAsyncFile> file, std::string finalFullPath)
|
||||
@ -77,6 +78,8 @@ ACTOR static Future<BackupContainerFileSystem::FilesAndSizesT> listFiles_impl(st
|
||||
return results;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
void BackupContainerLocalDirectory::addref() {
|
||||
return ReferenceCounted<BackupContainerLocalDirectory>::addref();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user