File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ namespace raylib {
1212 */
1313class Gamepad {
1414public:
15- Gamepad (int gamepadNumber = 0 ) { set (gamepadNumber); }
15+ Gamepad (int gamepadNumber = 0 ) : number (gamepadNumber) {};
1616 int number;
1717
1818 GETTERSETTER (int , Number, number)
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ add_executable(raylib_cpp_test raylib_cpp_test.cpp)
88if (MSVC )
99 target_compile_options (raylib_cpp_test PRIVATE /Wall /W4)
1010else ()
11- target_compile_options (raylib_cpp_test PRIVATE -Wall -Wextra -Wconversion -Wsign-conversion)
11+ target_compile_options (raylib_cpp_test PRIVATE -Wall -Wextra -Wconversion -Wsign-conversion -Weffc++ )
1212endif ()
1313target_link_libraries (raylib_cpp_test raylib_cpp raylib)
1414
You can’t perform that action at this time.
0 commit comments