lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master da44805 3/5: Improve const-correctness (VZ)


From: Greg Chicares
Subject: [lmi-commits] [lmi] master da44805 3/5: Improve const-correctness (VZ)
Date: Sun, 12 Mar 2017 21:12:55 -0400 (EDT)

branch: master
commit da44805837cc91992c40d7019890453ba3e779d1
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Improve const-correctness (VZ)
---
 input_sequence_entry.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/input_sequence_entry.cpp b/input_sequence_entry.cpp
index aa23a95..8ceb511 100644
--- a/input_sequence_entry.cpp
+++ b/input_sequence_entry.cpp
@@ -494,8 +494,8 @@ std::string InputSequenceEditor::sequence_string()
 
         s.append(value_field(i).GetValue().c_str());
 
-        auto endpoint = duration_num_field(i).GetValue();
-        std::string z = value_cast<std::string>(endpoint);
+        auto const endpoint = duration_num_field(i).GetValue();
+        std::string const z = value_cast<std::string>(endpoint);
 
         switch(duration_mode_field(i).value())
             {



reply via email to

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