From 56b447d665f9bda4430b1039773b1e243cdecabf Mon Sep 17 00:00:00 2001 From: Charles Milette Date: Wed, 12 Dec 2018 14:35:59 -0500 Subject: [PATCH] Use more cool features --- ShareX.HelpersLib/ConvolutionMatrix.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ShareX.HelpersLib/ConvolutionMatrix.cs b/ShareX.HelpersLib/ConvolutionMatrix.cs index 34f9512b7..4049c7d8f 100644 --- a/ShareX.HelpersLib/ConvolutionMatrix.cs +++ b/ShareX.HelpersLib/ConvolutionMatrix.cs @@ -57,9 +57,6 @@ public void SetAll(double value) } } - public ref double this[int y, int x] - { - get => ref matrix[y, x]; - } + public ref double this[int y, int x] => ref matrix[y, x]; } } \ No newline at end of file