dev-arm: Fix -Wdeprecated-copy warning (#1197)

Clang warns as follows: `warning: definition of implicit copy
constructor for 'TranslResult' is deprecated because it has a
user-declared copy assignment operator`

Change-Id: Ic701d8522aac75d569f4f513f54de91f76a17e48
This commit is contained in:
Alexander Richardson
2024-06-05 04:36:38 -07:00
committed by GitHub
parent a764b9be1c
commit abbb94af8b

View File

@@ -142,6 +142,7 @@ class SMMUTranslationProcess : public SMMUProcess
addr(0), addrMask(0), writable(false)
{}
TranslResult(const TranslResult&) = default;
TranslResult& operator=(const TranslResult &rhs) = default;
bool isFaulting() const { return fault.isFaulting(); }