Skip to content

Commit 80563ab

Browse files
Adding comment
1 parent c55d1e2 commit 80563ab

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cpp/src/parquet/encryption/external_dbpa_encryption.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,9 @@ void UpdateEncryptorMetadata(
137137
/// operation is open, and is used to guarantee the lifetime of the encryptor.
138138
class PARQUET_EXPORT ExternalDBPAEncryptorAdapterFactory {
139139
public:
140+
// Windows DLL construction tries to instantiate a copy constructor for this class,
141+
// and runs into problem as it tries to copy a deleted pointer. Explicitly delete
142+
// copy operations so MSVC doesn't try to instantiate a copy constructor.ßßß
140143
ExternalDBPAEncryptorAdapterFactory() = default;
141144
ExternalDBPAEncryptorAdapterFactory(const ExternalDBPAEncryptorAdapterFactory&) =
142145
delete;

0 commit comments

Comments
 (0)