diff --git a/fdbclient/BackupContainer.actor.cpp b/fdbclient/BackupContainer.actor.cpp index 8748c0ba60..01154592eb 100644 --- a/fdbclient/BackupContainer.actor.cpp +++ b/fdbclient/BackupContainer.actor.cpp @@ -37,7 +37,7 @@ #include "flow/Platform.h" #include "fdbclient/AsyncFileBlobStore.actor.h" #include "fdbclient/BackupContainerAzureBlobStore.h" -#include "fdbclient/BackupContainerFileSystem.actor.h" +#include "fdbclient/BackupContainerFileSystem.h" #include "fdbclient/BackupContainerLocalDirectory.h" #include "fdbclient/BackupContainerS3BlobStore.h" #include "fdbclient/Status.h" diff --git a/fdbclient/BackupContainerAzureBlobStore.h b/fdbclient/BackupContainerAzureBlobStore.h index 79c67db647..646e3f2857 100644 --- a/fdbclient/BackupContainerAzureBlobStore.h +++ b/fdbclient/BackupContainerAzureBlobStore.h @@ -22,7 +22,7 @@ #define FDBCLIENT_BACKUP_CONTAINER_AZURE_BLOBSTORE_H #pragma once -#include "fdbclient/BackupContainerFileSystem.actor.h" +#include "fdbclient/BackupContainerFileSystem.h" #include "storage_credential.h" #include "storage_account.h" diff --git a/fdbclient/BackupContainerFileSystem.actor.cpp b/fdbclient/BackupContainerFileSystem.actor.cpp index 21b0bc7d67..cd4e2ccb8b 100644 --- a/fdbclient/BackupContainerFileSystem.actor.cpp +++ b/fdbclient/BackupContainerFileSystem.actor.cpp @@ -19,7 +19,7 @@ */ #include "fdbclient/BackupContainerAzureBlobStore.h" -#include "fdbclient/BackupContainerFileSystem.actor.h" +#include "fdbclient/BackupContainerFileSystem.h" #include "fdbclient/BackupContainerLocalDirectory.h" #include "fdbclient/FDBTypes.h" diff --git a/fdbclient/BackupContainerFileSystem.actor.h b/fdbclient/BackupContainerFileSystem.h similarity index 97% rename from fdbclient/BackupContainerFileSystem.actor.h rename to fdbclient/BackupContainerFileSystem.h index 58bdd8f4ae..090c395486 100644 --- a/fdbclient/BackupContainerFileSystem.actor.h +++ b/fdbclient/BackupContainerFileSystem.h @@ -1,5 +1,5 @@ /* - * BackupContainerFileSystem.actor.h + * BackupContainerFileSystem.h * * This source file is part of the FoundationDB open source project * @@ -18,12 +18,9 @@ * limitations under the License. */ -#pragma once -#if defined(NO_INTELLISENSE) && !defined(FDBCLIENT_BACKUP_CONTAINER_FILESYSTEM_ACTOR_G_H) -#define FDBCLIENT_BACKUP_CONTAINER_FILESYSTEM_ACTOR_G_H -#include "fdbclient/BackupContainerFileSystem.actor.g.h" -#elif !defined(FDBCLIENT_BACKUP_CONTAINER_FILESYSTEM_H) +#ifndef FDBCLIENT_BACKUP_CONTAINER_FILESYSTEM_H #define FDBCLIENT_BACKUP_CONTAINER_FILESYSTEM_H +#pragma once // FIXME: Trim this down #include "flow/Platform.actor.h" @@ -50,7 +47,6 @@ #include #include "fdbclient/BackupContainer.h" -#include "flow/actorcompiler.h" // has to be last include /* BackupContainerFileSystem implements a backup container which stores files in a nested folder structure. * Inheritors must only defined methods for writing, reading, deleting, sizing, and listing files. @@ -276,5 +272,4 @@ public: VersionProperty logType(); }; -#include "flow/unactorcompiler.h" #endif diff --git a/fdbclient/BackupContainerLocalDirectory.h b/fdbclient/BackupContainerLocalDirectory.h index 34368d30f1..c19dd4fa1b 100644 --- a/fdbclient/BackupContainerLocalDirectory.h +++ b/fdbclient/BackupContainerLocalDirectory.h @@ -22,7 +22,7 @@ #define FDBCLIENT_BACKUP_CONTAINER_LOCAL_DIRECTORY_H #pragma once -#include "fdbclient/BackupContainerFileSystem.actor.h" +#include "fdbclient/BackupContainerFileSystem.h" class BackupContainerLocalDirectory : public BackupContainerFileSystem, ReferenceCounted { diff --git a/fdbclient/BackupContainerS3BlobStore.h b/fdbclient/BackupContainerS3BlobStore.h index ee9b34b5b4..3ee5a6e02e 100644 --- a/fdbclient/BackupContainerS3BlobStore.h +++ b/fdbclient/BackupContainerS3BlobStore.h @@ -22,7 +22,7 @@ #define FDBCLIENT_BACKUP_CONTAINER_S3_BLOBSTORE_H #pragma once -#include "fdbclient/BackupContainerFileSystem.actor.h" +#include "fdbclient/BackupContainerFileSystem.h" class BackupContainerS3BlobStore final : public BackupContainerFileSystem, ReferenceCounted { diff --git a/fdbclient/CMakeLists.txt b/fdbclient/CMakeLists.txt index f7b00f8a71..a9af0d32e2 100644 --- a/fdbclient/CMakeLists.txt +++ b/fdbclient/CMakeLists.txt @@ -11,7 +11,7 @@ set(FDBCLIENT_SRCS BackupContainerAzureBlobStore.actor.cpp BackupContainerAzureBlobStore.h BackupContainerFileSystem.actor.cpp - BackupContainerFileSystem.actor.h + BackupContainerFileSystem.h BackupContainerLocalDirectory.actor.cpp BackupContainerLocalDirectory.h BackupContainerS3BlobStore.actor.cpp