限定readonly

This commit is contained in:
ww-rm
2025-04-09 01:09:57 +08:00
parent dbe586cff8
commit 64cfe5fdd7
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ namespace SpineViewer.Dialogs
{
public partial class ProgressDialog : Form
{
private Logger logger = LogManager.GetCurrentClassLogger();
private readonly Logger logger = LogManager.GetCurrentClassLogger();
public ProgressDialog()
{

View File

@@ -12,7 +12,7 @@ namespace SpineViewer
{
internal partial class SpineViewerForm : Form
{
private Logger logger = LogManager.GetCurrentClassLogger();
private readonly Logger logger = LogManager.GetCurrentClassLogger();
public SpineViewerForm()
{