godot/platform/iphone
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
..
api [iOS] Use platform generated api to initialize iOS plugins 2021-08-06 23:28:37 +03:00
export Don't return reference on copy assignment operators 2021-11-30 16:26:29 +01:00
SCsub OS: Remove native video API only implemented on iOS 2021-05-07 20:40:24 +02:00
app_delegate.h Use OpenGL 3.3 core profile instead of compatibility profile 2021-10-31 15:56:45 +01:00
app_delegate.mm Implement get_cache_path() for iOS, and improve it for Android and Windows 2021-10-09 11:13:26 +02:00
detect.py SCons: Set `DEBUG_ENABLED` and `DEV_ENABLED` in SConstruct 2021-10-15 10:26:58 +02:00
device_metrics.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
device_metrics.m Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
display_layer.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
display_layer.mm Use OpenGL 3.3 core profile instead of compatibility profile 2021-10-31 15:56:45 +01:00
display_server_iphone.h Use "volk" instead of statically linked Vulkan loader. 2021-08-12 14:25:15 +03:00
display_server_iphone.mm Use "enum class" for input enums 2021-11-12 15:37:54 -06:00
godot_app_delegate.h [iOS] Remove remote notifications code 2021-02-03 15:00:43 +03:00
godot_app_delegate.m Fix typos with codespell 2021-05-20 12:38:56 +02:00
godot_iphone.mm Implement get_cache_path() for iOS, and improve it for Android and Windows 2021-10-09 11:13:26 +02:00
godot_view.h iOS: Use storyboard as loading screen 2021-02-03 19:53:52 +03:00
godot_view.mm Replace remaining uses of `NULL` with `nullptr` 2021-04-29 11:53:27 +02:00
godot_view_gesture_recognizer.h Fix various typos with codespell 2021-07-25 11:21:51 +02:00
godot_view_gesture_recognizer.mm Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
godot_view_renderer.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
godot_view_renderer.mm Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
ios.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
ios.mm Replace remaining uses of `NULL` with `nullptr` 2021-04-29 11:53:27 +02:00
joypad_iphone.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
joypad_iphone.mm Use "enum class" for input enums 2021-11-12 15:37:54 -06:00
keyboard_input_view.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
keyboard_input_view.mm Use "enum class" for input enums 2021-11-12 15:37:54 -06:00
logo.png platform: Update metadata for export platforms 2020-08-01 23:43:14 -07:00
main.m Use "volk" instead of statically linked Vulkan loader. 2021-08-12 14:25:15 +03:00
os_iphone.h Implement get_cache_path() for iOS, and improve it for Android and Windows 2021-10-09 11:13:26 +02:00
os_iphone.mm Implement get_cache_path() for iOS, and improve it for Android and Windows 2021-10-09 11:13:26 +02:00
platform_config.h Rename GLES2 driver to OpenGL to prepare for the upgrade to GLES3 2021-10-30 02:05:49 +02:00
view_controller.h OS: Remove native video API only implemented on iOS 2021-05-07 20:40:24 +02:00
view_controller.mm OS: Remove native video API only implemented on iOS 2021-05-07 20:40:24 +02:00
vulkan_context_iphone.h Restructure and reimplement vsync options 2021-07-06 16:34:26 +02:00
vulkan_context_iphone.mm Upgrade Vulkan memory allocator 2021-08-13 00:05:41 +02:00