Mercurial > hg > svcore
comparison data/fft/FFTDataServer.cpp @ 897:69cc0454ed72
Make it possible to import CSV files directly into Note layers
author | Chris Cannam |
---|---|
date | Mon, 07 Apr 2014 10:47:15 +0100 |
parents | e802e550a1f2 |
children | 166e3fc1e962 |
comparison
equal
deleted
inserted
replaced
892:451f7f3ab6e7 | 897:69cc0454ed72 |
---|---|
866 // erase a reader that looks like it may no longer going to be | 866 // erase a reader that looks like it may no longer going to be |
867 // used by this thread for a while (leaving alone the current | 867 // used by this thread for a while (leaving alone the current |
868 // and previous cache readers) | 868 // and previous cache readers) |
869 int deleteCandidate = c - 2; | 869 int deleteCandidate = c - 2; |
870 if (deleteCandidate < 0) deleteCandidate = c + 2; | 870 if (deleteCandidate < 0) deleteCandidate = c + 2; |
871 if (deleteCandidate >= m_caches.size()) { | 871 if (deleteCandidate >= (int)m_caches.size()) { |
872 return true; | 872 return true; |
873 } | 873 } |
874 | 874 |
875 cb = m_caches.at(deleteCandidate); | 875 cb = m_caches.at(deleteCandidate); |
876 if (cb && cb->fileCacheReader.find(me) != cb->fileCacheReader.end()) { | 876 if (cb && cb->fileCacheReader.find(me) != cb->fileCacheReader.end()) { |