MSVC warning fixes
This commit is contained in:
parent
82f23e556e
commit
e8ef24a54f
2 changed files with 2 additions and 2 deletions
|
@ -339,7 +339,7 @@ private:
|
|||
} else {
|
||||
variants.append(item);
|
||||
}
|
||||
} catch (sg_exception& e) {
|
||||
} catch (sg_exception&) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
@ -534,7 +534,7 @@ QObjectList LocationController::airportRunways() const
|
|||
}
|
||||
} else {
|
||||
// regular runways
|
||||
for (int r=0; r<m_airportLocation->numRunways(); ++r) {
|
||||
for (unsigned int r=0; r<m_airportLocation->numRunways(); ++r) {
|
||||
auto p = new QmlPositioned(m_airportLocation->getRunwayByIndex(r).ptr());
|
||||
QQmlEngine::setObjectOwnership(p, QQmlEngine::JavaScriptOwnership);
|
||||
result.push_back(p);
|
||||
|
|
Loading…
Add table
Reference in a new issue