From 6433ce8d95c00808066bdeb9d60445bb72dddf0c Mon Sep 17 00:00:00 2001 From: ikpil Date: Tue, 20 Jun 2023 00:33:41 +0900 Subject: [PATCH] remove unused function --- src/DotRecast.Detour/QueryResults/Result.cs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/DotRecast.Detour/QueryResults/Result.cs b/src/DotRecast.Detour/QueryResults/Result.cs index a9517c0..af8c185 100644 --- a/src/DotRecast.Detour/QueryResults/Result.cs +++ b/src/DotRecast.Detour/QueryResults/Result.cs @@ -27,11 +27,6 @@ namespace DotRecast.Detour.QueryResults return new Result(result, DtStatus.DT_SUCCSESS, null); } - public static Result Failure() - { - return new Result(default, DtStatus.DT_FAILURE, null); - } - public static Result InvalidParam() { return new Result(default, DtStatus.DT_FAILURE | DtStatus.DT_INVALID_PARAM, null); @@ -47,11 +42,6 @@ namespace DotRecast.Detour.QueryResults return new Result(result, DtStatus.DT_FAILURE, null); } - public static Result Of(DtStatus status, string message) - { - return new Result(default, status, message); - } - public static Result Of(DtStatus status, T result) { return new Result(result, status, null);