From 071af63ca4a8585c06b2c07e47255680d0c99c07 Mon Sep 17 00:00:00 2001 From: Sagilio Date: Sun, 1 Jan 2023 21:05:55 -0600 Subject: [PATCH] fix: Warning at policy scanner (#307) Signed-off-by: sagilio Signed-off-by: sagilio --- Casbin/Model/PolicyScanner.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Casbin/Model/PolicyScanner.cs b/Casbin/Model/PolicyScanner.cs index 5ccc82b..542ef2d 100644 --- a/Casbin/Model/PolicyScanner.cs +++ b/Casbin/Model/PolicyScanner.cs @@ -22,7 +22,7 @@ public bool GetNext(out IPolicyValues outValues) private PolicyScanner _scanner; private readonly TRequest _request; - internal PolicyScanner(in PolicyScanner scanner, in TRequest request) + internal PolicyScanner(PolicyScanner scanner, in TRequest request) { _scanner = scanner; _request = request;