Fix a problem for MSVC
This commit is contained in:
parent
63ab28f0e6
commit
bd9e43e613
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ private:
|
||||||
void onFinished()
|
void onFinished()
|
||||||
{
|
{
|
||||||
flightgear::PolyLineList::const_iterator begin = m_parsedLines.begin() + m_lineInsertCount;
|
flightgear::PolyLineList::const_iterator begin = m_parsedLines.begin() + m_lineInsertCount;
|
||||||
unsigned int numToAdd = std::min(1000UL, m_parsedLines.size() - m_lineInsertCount);
|
unsigned int numToAdd = std::min<unsigned long>(1000UL, m_parsedLines.size() - m_lineInsertCount);
|
||||||
flightgear::PolyLineList::const_iterator end = begin + numToAdd;
|
flightgear::PolyLineList::const_iterator end = begin + numToAdd;
|
||||||
flightgear::PolyLine::bulkAddToSpatialIndex(begin, end);
|
flightgear::PolyLine::bulkAddToSpatialIndex(begin, end);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue