Skip to content
Snippets Groups Projects
Commit b50a27dd authored by marco's avatar marco
Browse files

constify AlignmentHandle::operator[]

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2024 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent 8014351a
No related branches found
No related tags found
No related merge requests found
...@@ -226,7 +226,7 @@ AlignedColumnIterator AlignmentHandle::end() const ...@@ -226,7 +226,7 @@ AlignedColumnIterator AlignmentHandle::end() const
return AlignedColumnIterator(*this, this->GetLength(), this->GetLength()); return AlignedColumnIterator(*this, this->GetLength(), this->GetLength());
} }
AlignedColumn AlignmentHandle::operator[](int index) AlignedColumn AlignmentHandle::operator[](int index) const
{ {
return AlignedColumn(*this, index); return AlignedColumn(*this, index);
} }
......
...@@ -135,7 +135,7 @@ public: ...@@ -135,7 +135,7 @@ public:
/// This method does not throw any exception. Upon accessing methods of the /// This method does not throw any exception. Upon accessing methods of the
/// aligned column, exceptions might be thrown when the index is out of /// aligned column, exceptions might be thrown when the index is out of
/// bounds. /// bounds.
AlignedColumn operator[](int index); AlignedColumn operator[](int index) const;
AlignmentHandle(const impl::SequenceListImplPtr& impl); AlignmentHandle(const impl::SequenceListImplPtr& impl);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment