lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] odd/uniform_i12n 21f9e16: Use uniform initialization


From: Greg Chicares
Subject: [lmi-commits] [lmi] odd/uniform_i12n 21f9e16: Use uniform initialization in one more pair of lines
Date: Tue, 28 Aug 2018 12:18:14 -0400 (EDT)

branch: odd/uniform_i12n
commit 21f9e16b9b0bc17e8700add4cf8daae9842b65d2
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Use uniform initialization in one more pair of lines
    
    See:
      https://lists.nongnu.org/archive/html/lmi/2018-08/msg00052.html
---
 tier_view_editor.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tier_view_editor.hpp b/tier_view_editor.hpp
index 73d6e70..3b0735c 100644
--- a/tier_view_editor.hpp
+++ b/tier_view_editor.hpp
@@ -114,8 +114,8 @@ inline tier_entity_adapter::tier_entity_adapter
     (std::vector<double>& limits
     ,std::vector<double>& values
     )
-    :limits_ (&limits)
-    ,values_ (&values)
+    :limits_ {&limits}
+    ,values_ {&values}
 {
     if(limits.size() != values.size())
         {



reply via email to

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