Make some more files cppcheck clean (#6133)

* Make some more files cppcheck clean

* revert change of dcrop.cc from last commit

* Replace calculation: y = pow(x, 1/ (2.f * 2.f)) by y = sqrt(sqrt(x))

* Revert "Replace calculation: y = pow(x, 1/ (2.f * 2.f)) by y = sqrt(sqrt(x))"

This reverts commit d639c67249f1723fa9f9e55e0442afcb862eba91.
This commit is contained in:
Ingo Weyrich
2021-02-24 22:39:23 +01:00
committed by GitHub
parent 7a2463a81a
commit f727477710
6 changed files with 18 additions and 40 deletions

View File

@@ -65,7 +65,7 @@ public:
virtual void onDestroy() = 0;
};
Cache(unsigned long _size, Hook* _hook = nullptr) :
explicit Cache(unsigned long _size, Hook* _hook = nullptr) :
store_size(_size),
hook(_hook)
{