[Scummvm-git-logs] scummvm master -> 3be555db0116a036ef73805edd52061e7a419e3a

bgK bastien.bouclet at gmail.com
Sat May 30 17:43:16 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
3be555db01 3DS: Don't use auto as it's a C++11ism


Commit: 3be555db0116a036ef73805edd52061e7a419e3a
    https://github.com/scummvm/scummvm/commit/3be555db0116a036ef73805edd52061e7a419e3a
Author: Philippe Valembois (lephilousophe at users.sourceforge.net)
Date: 2020-05-30T19:43:13+02:00

Commit Message:
3DS: Don't use auto as it's a C++11ism

That makes build fail when using -ansi

Changed paths:
    backends/platform/3ds/osystem-events.cpp


diff --git a/backends/platform/3ds/osystem-events.cpp b/backends/platform/3ds/osystem-events.cpp
index e9dc1b9426..627cba4dbd 100644
--- a/backends/platform/3ds/osystem-events.cpp
+++ b/backends/platform/3ds/osystem-events.cpp
@@ -92,7 +92,7 @@ static void doJoyEvent(Common::Queue<Common::Event> *queue, u32 keysPressed, u32
 
 static void eventThreadFunc(void *arg) {
 	OSystem_3DS *osys = (OSystem_3DS *)g_system;
-	auto eventQueue = (Common::Queue<Common::Event> *)arg;
+	Common::Queue<Common::Event> *eventQueue = (Common::Queue<Common::Event> *)arg;
 
 	uint32 touchStartTime = osys->getMillis();
 	touchPosition  lastTouch  = {0, 0};




More information about the Scummvm-git-logs mailing list