[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] [lmi-commits] master f3ad703 3/3: Move an assignment to a memb
From: |
Vadim Zeitlin |
Subject: |
Re: [lmi] [lmi-commits] master f3ad703 3/3: Move an assignment to a member initializer list |
Date: |
Sun, 7 Jun 2020 12:06:48 +0200 |
On Sat, 6 Jun 2020 16:39:35 -0400 (EDT) Greg Chicares
<gchicares@sbcglobal.net> wrote:
GC> branch: master
GC> commit f3ad703528daf7155e1c4069274a7557f5d56218
GC> Author: Gregory W. Chicares <gchicares@sbcglobal.net>
GC> Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
GC>
GC> Move an assignment to a member initializer list
GC> ---
GC> fenv_lmi_x86.hpp | 2 +-
GC> 1 file changed, 1 insertion(+), 1 deletion(-)
GC>
GC> diff --git a/fenv_lmi_x86.hpp b/fenv_lmi_x86.hpp
GC> index fb1652d..b0617cb 100644
GC> --- a/fenv_lmi_x86.hpp
GC> +++ b/fenv_lmi_x86.hpp
GC> @@ -222,8 +222,8 @@ class control_word
GC>
GC> public:
GC> control_word(std::uint32_t w)
GC> + :cw_ {ControlWordType::reserved_values | ControlWordType::settable
& w}
GC> {
GC> - cw_ = ControlWordType::reserved_values | ControlWordType::settable
& w;
GC> }
Out of curiosity, why did this need to be done?
VZ
pgpzB5FFk8YmB.pgp
Description: PGP signature
- Re: [lmi] [lmi-commits] master f3ad703 3/3: Move an assignment to a member initializer list,
Vadim Zeitlin <=