forked from teamnwah/openmw-tes3coop
Const correctness
This commit is contained in:
parent
eb3cbaa4e1
commit
4fe21dc38f
3 changed files with 3 additions and 3 deletions
|
@ -77,7 +77,7 @@ void CSVFilter::EditWidget::createFilterRequest (std::vector< std::pair< std::st
|
|||
}
|
||||
}
|
||||
|
||||
std::string CSVFilter::EditWidget::generateFilter (std::pair< std::string, std::vector< std::string > >& seekedString)
|
||||
std::string CSVFilter::EditWidget::generateFilter (std::pair< std::string, std::vector< std::string > >& seekedString) const
|
||||
{
|
||||
const unsigned columns = seekedString.second.size();
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ namespace CSVFilter
|
|||
void filterChanged (boost::shared_ptr<CSMFilter::Node> filter);
|
||||
|
||||
private:
|
||||
std::string generateFilter(std::pair<std::string, std::vector<std::string> >& seekedString);
|
||||
std::string generateFilter(std::pair<std::string, std::vector<std::string> >& seekedString) const;
|
||||
|
||||
private slots:
|
||||
|
||||
|
|
|
@ -510,7 +510,7 @@ void CSVWorld::Table::dragMoveEvent(QDragMoveEvent *event)
|
|||
|
||||
std::vector<std::string> CSVWorld::Table::getColumnsWithDisplay(CSMWorld::ColumnBase::Display display) const
|
||||
{
|
||||
int count = mModel->columnCount();
|
||||
const int count = mModel->columnCount();
|
||||
|
||||
std::vector<std::string> titles;
|
||||
for (int i = 0; i < count; ++i)
|
||||
|
|
Loading…
Reference in a new issue