[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 03d33ab 14/46: Make DatumSequenceEditorEvtHan

From: Greg Chicares
Subject: [lmi-commits] [lmi] master 03d33ab 14/46: Make DatumSequenceEditorEvtHandler::entry_ const
Date: Wed, 22 Jul 2020 11:05:11 -0400 (EDT)

branch: master
commit 03d33ab3d18e12cc5d0eef409eac414f92c92475
Author: Vadim Zeitlin <vadim@tt-solutions.com>
Commit: Vadim Zeitlin <vadim@tt-solutions.com>

    Make DatumSequenceEditorEvtHandler::entry_ const
    This member is initialized in the ctor and never changes, so it should
    be const.
 census_view.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/census_view.cpp b/census_view.cpp
index b95f597..04820ba 100644
--- a/census_view.cpp
+++ b/census_view.cpp
@@ -1061,7 +1061,7 @@ class DatumSequenceEditorEvtHandler
-    InputSequenceEntry* entry_{};
+    InputSequenceEntry* const entry_{};

reply via email to

[Prev in Thread] Current Thread [Next in Thread]