Workaround some compilers that give a stricter throw spec to = default than implicit dtors

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243823 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Blaikie 2015-08-01 05:10:37 +00:00
parent e428ba798e
commit 0ef4b3cef4
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ protected:
MCParsedAsmOperand() = default;
public:
virtual ~MCParsedAsmOperand() = default;
virtual ~MCParsedAsmOperand() {}
void setConstraint(StringRef C) { Constraint = C.str(); }
StringRef getConstraint() { return Constraint; }