From f16349225b0192a46feca4f44216d9ce546cdad6 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Wed, 30 Nov 2022 18:39:33 +0000 Subject: [PATCH] Remove implicit bool cast in JoinResult --- VpSharp/src/JoinResult.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/VpSharp/src/JoinResult.cs b/VpSharp/src/JoinResult.cs index a7acce1..1c2ee40 100644 --- a/VpSharp/src/JoinResult.cs +++ b/VpSharp/src/JoinResult.cs @@ -1,4 +1,4 @@ -namespace VpSharp; +namespace VpSharp; /// /// Represents a join result. @@ -22,9 +22,4 @@ public readonly struct JoinResult /// /// The join response. public JoinResponse Response { get; } - - public static implicit operator bool(JoinResult result) - { - return result.Response == JoinResponse.Accepted; - } }