mirror of
https://github.com/love2d/love.git
synced 2026-08-15 07:41:11 +02:00
Address some compiler warnings
This commit is contained in:
@@ -121,7 +121,7 @@ std::vector<void*> Sensor::getHandles()
|
||||
{
|
||||
std::vector<void*> nativeSensor;
|
||||
|
||||
for (const std::pair<SensorType, SDL_Sensor*> &data: sensors)
|
||||
for (std::pair<SensorType, SDL_Sensor*> data : sensors)
|
||||
{
|
||||
if (data.second)
|
||||
nativeSensor.push_back(data.second);
|
||||
|
||||
Reference in New Issue
Block a user