Index: src/PNaClTranslator.cpp |
diff --git a/src/PNaClTranslator.cpp b/src/PNaClTranslator.cpp |
index ac4c6976477ec5e1dbb8a1d6a380924a06db2227..9be47f502097099af1230bb288dc8452486e3610 100644 |
--- a/src/PNaClTranslator.cpp |
+++ b/src/PNaClTranslator.cpp |
@@ -49,13 +49,13 @@ static cl::opt<bool> AllowErrorRecovery( |
// Use methods setAsSimpleType and setAsFuncSigType to define |
// the extended type. |
class ExtendedType { |
- // ExtendedType(const ExtendedType &Ty) = delete; |
ExtendedType &operator=(const ExtendedType &Ty) = delete; |
public: |
/// Discriminator for LLVM-style RTTI. |
enum TypeKind { Undefined, Simple, FuncSig }; |
ExtendedType() : Kind(Undefined) {} |
+ ExtendedType(const ExtendedType &Ty) = default; |
virtual ~ExtendedType() {} |