lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master b3726b0 3/3: Use uniform initialization in at


From: Greg Chicares
Subject: [lmi-commits] [lmi] master b3726b0 3/3: Use uniform initialization in at least one situation
Date: Sat, 4 Feb 2017 23:22:24 +0000 (UTC)

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

    Use uniform initialization in at least one situation
    
    See:
      http://lists.nongnu.org/archive/html/lmi/2017-02/msg00010.html
---
 input_sequence.hpp |    7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/input_sequence.hpp b/input_sequence.hpp
index 8b38bc0..1c43a0b 100644
--- a/input_sequence.hpp
+++ b/input_sequence.hpp
@@ -262,10 +262,9 @@ class LMI_SO InputSequence
         ,int                             a_retirement_age
         ,int                             a_inforce_duration
         ,int                             a_effective_year
-        ,std::vector<std::string> const& a_allowed_keywords
-            = std::vector<std::string>()
-        ,bool                            a_keywords_only = false
-        ,std::string const&              a_default_keyword = std::string()
+        ,std::vector<std::string> const& a_allowed_keywords = {}
+        ,bool                            a_keywords_only    = false
+        ,std::string const&              a_default_keyword  = std::string()
         );
 
     InputSequence(std::vector<double> const&);



reply via email to

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