Integrate C++11 branch into 5_1-new

This commit is contained in:
teejusb
2019-06-22 12:35:38 -07:00
444 changed files with 19503 additions and 21007 deletions
+1 -4
View File
@@ -3,7 +3,6 @@
#include "RageLog.h"
#include "RageUtil.h"
#include "RageTimer.h"
#include "Foreach.h"
#include <limits.h>
#include <list>
@@ -136,10 +135,8 @@ int64_t pos_map_queue::Search( int64_t iSourceFrame, bool *bApproximate ) const
* it maps to. */
int64_t iClosestPosition = 0, iClosestPositionDist = INT_MAX;
const pos_map_t *pClosestBlock = &*m_pImpl->m_Queue.begin(); /* print only */
FOREACHL_CONST( pos_map_t, m_pImpl->m_Queue, it )
for (pos_map_t const &pm : m_pImpl->m_Queue)
{
const pos_map_t &pm = *it;
if( iSourceFrame >= pm.m_iSourceFrame &&
iSourceFrame < pm.m_iSourceFrame+pm.m_iFrames )
{