Cleanup: Clang-Tidy readability-inconsistent-declaration-parameter-name fix

No functional changes
This commit is contained in:
2020-09-04 20:59:13 +02:00
parent e43d482cc9
commit 2115232a16
266 changed files with 1649 additions and 1615 deletions

View File

@@ -89,12 +89,12 @@ void TextureManager::load()
_hasLoadedTextures = true;
}
unsigned TextureManager::getBrushTextureIndex(string name, Stroke::MediumType loadingMode)
unsigned TextureManager::getBrushTextureIndex(string name, Stroke::MediumType iType)
{
BrushTexture bt(name, loadingMode);
BrushTexture bt(name, iType);
brushesMap::iterator b = _brushesMap.find(bt);
if (b == _brushesMap.end()) {
unsigned texId = loadBrush(name, loadingMode);
unsigned texId = loadBrush(name, iType);
_brushesMap[bt] = texId;
return texId;
// XXX!