mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Make a const method const
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18524 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7980ea4cfa
commit
42f006c8f5
@ -915,7 +915,7 @@ class list : public Option, public list_storage<DataType, Storage> {
|
||||
public:
|
||||
ParserClass &getParser() { return Parser; }
|
||||
|
||||
unsigned getPosition(unsigned optnum) {
|
||||
unsigned getPosition(unsigned optnum) const {
|
||||
assert(optnum < this->size() && "Invalid option index");
|
||||
return Positions[optnum];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user