CppCheck fixes, Errors Warnings and performance

This commit is contained in:
Jacob Støren
2015-11-27 16:37:26 +01:00
parent 6fdc975464
commit 7b9f2b41ed
16 changed files with 45 additions and 39 deletions

View File

@@ -106,7 +106,7 @@ bool RigWellLogFile::open(const QString& fileName, QString* errorMessage)
const std::map<std::string, std::vector<double> >& contLogs = well->GetContLog();
std::map<std::string, std::vector<double> >::const_iterator itCL;
for (itCL = contLogs.begin(); itCL != contLogs.end(); itCL++)
for (itCL = contLogs.begin(); itCL != contLogs.end(); ++itCL)
{
QString logName = QString::fromStdString(itCL->first);
wellLogNames.append(logName);