[Top][All Lists]

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

[lmi-commits] [lmi] master 5facb91 3/4: Define a static variable to be c

From: Greg Chicares
Subject: [lmi-commits] [lmi] master 5facb91 3/4: Define a static variable to be const
Date: Sat, 14 Nov 2020 10:24:45 -0500 (EST)

branch: master
commit 5facb918abd4f28db291d0536b6adbd94828b5c0
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Define a static variable to be const
 lingo.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lingo.cpp b/lingo.cpp
index 9ecf9a3..e78c6f6 100644
--- a/lingo.cpp
+++ b/lingo.cpp
@@ -63,7 +63,7 @@ void lingo::write_lingo_files()
     // superior::lingo enumerators are used for clarity in specifying
     // this map. They decay to integers in the resulting file, which
     // can therefore be read without the enumerators being visible.
-    static std::unordered_map<superior::lingo,std::string> enumerative_map
+    static std::unordered_map<superior::lingo,std::string> const 
         {{superior::policy_form      , "UL32768-NY"}
         ,{superior::policy_form_KS_KY, "UL32768-X"}

reply via email to

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