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
export Don't return reference on copy assignment operators 2021-11-30 16:26:29 +01: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
device_metrics.m
display_layer.h
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
display_server_iphone.mm Use "enum class" for input enums 2021-11-12 15:37:54 -06:00
godot_app_delegate.h
godot_app_delegate.m
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_gesture_recognizer.h
godot_view_gesture_recognizer.mm
godot_view_renderer.h
godot_view_renderer.mm
godot_view.h
godot_view.mm
ios.h
ios.mm
joypad_iphone.h
joypad_iphone.mm Use "enum class" for input enums 2021-11-12 15:37:54 -06:00
keyboard_input_view.h
keyboard_input_view.mm Use "enum class" for input enums 2021-11-12 15:37:54 -06:00
logo.png
main.m
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
SCsub
view_controller.h
view_controller.mm
vulkan_context_iphone.h
vulkan_context_iphone.mm