Ticket #9482: 0002-avoid-deque-constructor-for-studio.patch
File 0002-avoid-deque-constructor-for-studio.patch, 464 bytes (added by , 11 years ago) |
---|
-
scummvm-tools-cli.cpp
a b 40 40 return 2; 41 41 } 42 42 43 // If using Solaris Studio 44 #if defined(__sun) && !defined(__GNUC__) 45 std::deque<std::string> arguments; for (int i = 1; i < argc; i++) arguments.push_back(argv[i]); 46 #else 43 47 std::deque<std::string> arguments(argv, argv + argc); 44 48 arguments.pop_front(); // Pop our own name 49 #endif 45 50 46 51 ToolType type = TOOLTYPE_ALL; 47 52