mirror of
https://github.com/LMMS/lmms.git
synced 2026-04-16 03:57:16 -04:00
clang-tidy: Apply modernize-avoid-c-arrays everywhere (#6564)
Co-authored-by: Dominic Clark <mrdomclark@gmail.com> Co-authored-by: Hyunjin Song <tteu.ingog@gmail.com>
This commit is contained in:
@@ -116,7 +116,7 @@ void DynProcControls::saveSettings( QDomDocument & _doc,
|
||||
|
||||
void DynProcControls::setDefaultShape()
|
||||
{
|
||||
float shp [200] = { };
|
||||
auto shp = std::array<float, 200>{};
|
||||
for ( int i = 0; i<200; i++)
|
||||
{
|
||||
shp[i] = ((float)i + 1.0f) / 200.0f;
|
||||
|
||||
Reference in New Issue
Block a user