virtualx-engine/modules/mono/editor
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
..
Godot.NET.Sdk Add a simple C# .editorconfig 2021-07-23 17:04:53 -04:00
GodotTools Restrict the project data directory configuration 2021-10-18 14:10:38 -07:00
bindings_generator.cpp clang-format: Enable BreakBeforeTernaryOperators 2021-10-28 15:57:41 +02:00
bindings_generator.h Don't return reference on copy assignment operators 2021-11-30 16:26:29 +01:00
code_completion.cpp Fix autoloads iteration 2021-09-12 13:22:18 +02:00
code_completion.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
editor_internal_calls.cpp Add editor keyboard shortcut for Mono Build solution button 2021-09-14 13:13:00 +01:00
editor_internal_calls.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
godotsharp_export.cpp Replace remaining uses of NULL with nullptr 2021-04-29 11:53:27 +02:00
godotsharp_export.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00