Browse Source

Fixed ambiguity between std::byte and byte in rpcndr.h

Fixes https://github.com/libsdl-org/SDL/issues/8911

(cherry picked from commit a71f99c71f785e88db0b48599bb52ebe76e2b78e)
(cherry picked from commit 9196584773219f43d0294623322ffe2af358690e)
Sam Lantinga 1 năm trước cách đây
mục cha
commit
e3fb974fc7

+ 0 - 6
src/core/winrt/SDL_winrtapp_direct3d.cpp

@@ -20,12 +20,6 @@
 */
 #include "../../SDL_internal.h"
 
-/* Standard C++11 includes */
-#include <functional>
-#include <string>
-#include <sstream>
-using namespace std;
-
 /* Windows includes */
 #include "ppltasks.h"
 using namespace concurrency;

+ 1 - 3
src/video/winrt/SDL_winrtvideo.cpp

@@ -29,10 +29,8 @@
  */
 
 /* Standard C++11 includes */
-#include <functional>
-#include <string>
 #include <sstream>
-using namespace std;
+#include <string>
 
 /* Windows includes */
 #include <agile.h>