Add const to methods that do not modify the object for which it is called

This commit is contained in:
practicalswift
2017-03-09 13:34:54 +01:00
parent 0c70e845aa
commit 6e8c48dc59
23 changed files with 38 additions and 38 deletions

View File

@@ -184,7 +184,7 @@ bool CDBWrapper::IsEmpty()
}
CDBIterator::~CDBIterator() { delete piter; }
bool CDBIterator::Valid() { return piter->Valid(); }
bool CDBIterator::Valid() const { return piter->Valid(); }
void CDBIterator::SeekToFirst() { piter->SeekToFirst(); }
void CDBIterator::Next() { piter->Next(); }