[MC] Constifying MCInst::size()

llvm-svn: 229524
This commit is contained in:
Colin LeMahieu 2015-02-17 19:46:23 +00:00
parent 7a234a5bbc
commit 3c56f47f68
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ public:
}
void clear() { Operands.clear(); }
size_t size() { return Operands.size(); }
size_t size() const { return Operands.size(); }
typedef SmallVectorImpl<MCOperand>::iterator iterator;
typedef SmallVectorImpl<MCOperand>::const_iterator const_iterator;