[MC] Constifying MCInst::size()

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229524 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Colin LeMahieu 2015-02-17 19:46:23 +00:00
parent 07d4ebdc92
commit cfca56c073

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;