Skip to content

Commit

Permalink
Add missing word to comment; Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
khoidauminh committed Jul 2, 2024
1 parent 71284b0 commit 4553283
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/gui/SampleThumbnail.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,14 +149,13 @@ void SampleThumbnailListManager::cleanUpGlobalThumbnailMap()
//
// 2. A vector of shared_ptrs to the sampleBuffers constructed from
// the sample audio file. When this vector goes empty. The sample
// has gone out of use, and we can then delete the associated with
// this audio file.
// has gone out of use, and we can then delete the thumbnail
// associated with this audio file.

auto map = SAMPLE_THUMBNAIL_MAP.begin();
while (map != SAMPLE_THUMBNAIL_MAP.end())
{

// Find an erase all orphaned sampleBuffers
// Find and erase all orphaned sampleBuffers
SampleBufferSharedPtrVec& vec = map->second.vectorPtr;
auto ptr = vec.end();
for (;;)
Expand Down

0 comments on commit 4553283

Please sign in to comment.