lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master f3ad703 3/3: Move an assignment to a member i


From: Greg Chicares
Subject: [lmi-commits] [lmi] master f3ad703 3/3: Move an assignment to a member initializer list
Date: Sat, 6 Jun 2020 16:39:35 -0400 (EDT)

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

    Move an assignment to a member initializer list
---
 fenv_lmi_x86.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fenv_lmi_x86.hpp b/fenv_lmi_x86.hpp
index fb1652d..b0617cb 100644
--- a/fenv_lmi_x86.hpp
+++ b/fenv_lmi_x86.hpp
@@ -222,8 +222,8 @@ class control_word
 
   public:
     control_word(std::uint32_t w)
+        :cw_ {ControlWordType::reserved_values | ControlWordType::settable & w}
         {
-        cw_ = ControlWordType::reserved_values | ControlWordType::settable & w;
         }
 
     template<typename X>



reply via email to

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