godot/platform/osx
Rémi Verschelde 7da392bcc5
Don't return reference on copy assignment operators
We prefer to prevent using chained assignment (`T a = b = c = T();`) as this
can lead to confusing code and subtle bugs.

According to https://en.wikipedia.org/wiki/Assignment_operator_(C%2B%2B), C++
allows any arbitrary return type, so this is standard compliant.

This could be re-assessed if/when we have an actual need for a behavior more
akin to that of the C++ STL, for now this PR simply changes a handful of
cases which were inconsistent with the rest of the codebase (`void` return
type was already the most common case prior to this commit).
2021-11-30 16:26:29 +01:00
..
export Don't return reference on copy assignment operators 2021-11-30 16:26:29 +01:00
SCsub [macOS] Add support for OpenGLES3 video driver. 2021-11-02 13:11:55 +02:00
crash_handler_osx.h
crash_handler_osx.mm [macOS] Fix crash handler not printing function names on M1 Macs. 2021-11-16 08:45:34 +02:00
detect.py Fix typo in architecture name for x86_64 macOS 2021-11-12 20:46:08 -06:00
dir_access_osx.h
dir_access_osx.mm
display_server_osx.h Use "enum class" for input enums 2021-11-12 15:37:54 -06:00
display_server_osx.mm Use "enum class" for input enums 2021-11-12 15:37:54 -06:00
gl_manager_osx.h [macOS] Add support for OpenGLES3 video driver. 2021-11-02 13:11:55 +02:00
gl_manager_osx.mm Rename `remove()` to `remove_at()` when removing by index 2021-11-23 18:58:57 -07:00
godot_main_osx.mm
joypad_osx.cpp Rename `remove()` to `remove_at()` when removing by index 2021-11-23 18:58:57 -07:00
joypad_osx.h Fix crash on macOS (AS) when dualshock4 is removed 2021-11-17 15:13:53 +01:00
logo.png
os_osx.h [macOS] Use pre-wait observer to keep main run loop running and redraw window during the window resize and displaying modal popups. 2021-11-08 12:35:13 +02:00
os_osx.mm Fix console colors on Windows 2021-11-26 13:10:55 +03:00
platform_config.h
platform_osx_builders.py
vulkan_context_osx.h
vulkan_context_osx.mm