summaryrefslogtreecommitdiff
path: root/modules/mono/glue/cs_files/SignalAwaiter.cs
diff options
context:
space:
mode:
authorXavier Cho <mysticfallband@gmail.com>2018-04-08 12:28:24 +0900
committerXavier Cho <mysticfallband@gmail.com>2018-04-17 07:39:37 +0900
commit0ef3e0577b4c3889d19e6f301e06fba39e8187d5 (patch)
treeeb58943180f4c509caf990d2780782aa1f74f550 /modules/mono/glue/cs_files/SignalAwaiter.cs
parent9e2e6bb1e236e5d99d74dca0cd5d31d533b76c2e (diff)
#18051: Remove redundant casts and 'using', 'else', 'this' statements
Diffstat (limited to 'modules/mono/glue/cs_files/SignalAwaiter.cs')
-rw-r--r--modules/mono/glue/cs_files/SignalAwaiter.cs12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/mono/glue/cs_files/SignalAwaiter.cs b/modules/mono/glue/cs_files/SignalAwaiter.cs
index 19ccc26e79..c06f6b05c9 100644
--- a/modules/mono/glue/cs_files/SignalAwaiter.cs
+++ b/modules/mono/glue/cs_files/SignalAwaiter.cs
@@ -4,15 +4,15 @@ namespace Godot
{
public class SignalAwaiter : IAwaiter<object[]>, IAwaitable<object[]>
{
- private bool completed = false;
- private object[] result = null;
- private Action action = null;
+ private bool completed;
+ private object[] result;
+ private Action action;
- public SignalAwaiter(Godot.Object source, string signal, Godot.Object target)
+ public SignalAwaiter(Object source, string signal, Object target)
{
NativeCalls.godot_icall_Object_connect_signal_awaiter(
- Godot.Object.GetPtr(source),
- signal, Godot.Object.GetPtr(target), this
+ Object.GetPtr(source),
+ signal, Object.GetPtr(target), this
);
}