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 Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
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 Core: Move DirAccess and FileAccess to `core/io` 2021-06-11 14:52:39 +02:00
dir_access_osx.mm Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
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 Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
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 platform: Update metadata for export platforms 2020-08-01 23:43:14 -07:00
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 Rename GLES2 driver to OpenGL to prepare for the upgrade to GLES3 2021-10-30 02:05:49 +02:00
platform_osx_builders.py SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00
vulkan_context_osx.h Restructure and reimplement vsync options 2021-07-06 16:34:26 +02:00
vulkan_context_osx.mm Upgrade Vulkan memory allocator 2021-08-13 00:05:41 +02:00