Cppcheck: Fixed some issues found by Flössie during review of my changes

This commit is contained in:
heckflosse
2016-10-04 23:50:44 +02:00
parent 566d4c9822
commit e82b60cd03
9 changed files with 9 additions and 12 deletions

View File

@@ -89,7 +89,7 @@ public:
static const int MaxPersModelCount = 3000;
LCPPersModel* aPersModel[MaxPersModelCount]; // Do NOT use std::list or something, it's buggy in GCC!
explicit LCPProfile(Glib::ustring fname);
explicit LCPProfile(const Glib::ustring &fname);
void calcParams(int mode, float focalLength, float focusDist, float aperture, LCPModelCommon *pCorr1, LCPModelCommon *pCorr2, LCPModelCommon *pCorr3) const; // Interpolates between the persModels frames