1
0
Fork 0

Fix compilation with SYSTEM_SQLITE

This commit is contained in:
James Turner 2014-03-13 18:18:36 +00:00
parent 487546c848
commit 7041ed9078

View file

@ -1453,7 +1453,7 @@ FGPositionedRef NavDataCache::loadById(PositionedID rowid)
return it->second; // cache it return it->second; // cache it
} }
PositionedID aptId; sqlite3_int64 aptId;
FGPositioned* pos = d->loadById(rowid, aptId); FGPositioned* pos = d->loadById(rowid, aptId);
d->cache.insert(it, PositionedCache::value_type(rowid, pos)); d->cache.insert(it, PositionedCache::value_type(rowid, pos));
d->cacheMisses++; d->cacheMisses++;