1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 00:03:52 +02:00

More decltype and auto, mostly for loop index variables

This commit is contained in:
Paul Licameli
2016-09-06 19:46:56 -04:00
parent 919d77d176
commit 2a2013cb4b
5 changed files with 13 additions and 14 deletions

View File

@@ -1764,7 +1764,7 @@ bool Sequence::ConsistencyCheck(const wxChar *whereStr) const
void Sequence::DebugPrintf(wxString *dest) const
{
unsigned int i;
int pos = 0;
decltype(mNumSamples) pos = 0;
for (i = 0; i < mBlock.size(); i++) {
const SeqBlock &seqBlock = mBlock[i];