susumu.yata
null+****@clear*****
Wed Mar 25 18:36:05 JST 2015
susumu.yata 2015-03-25 18:36:05 +0900 (Wed, 25 Mar 2015) New Revision: 7f6cc1c74907c968e6c3024c5e9dd86afb74e82d https://github.com/groonga/grnxx/commit/7f6cc1c74907c968e6c3024c5e9dd86afb74e82d Message: Add missing spaces. Modified files: include/grnxx/data_types/scalar/float.hpp include/grnxx/data_types/scalar/int.hpp Modified: include/grnxx/data_types/scalar/float.hpp (+2 -2) =================================================================== --- include/grnxx/data_types/scalar/float.hpp 2015-03-25 18:34:57 +0900 (6828571) +++ include/grnxx/data_types/scalar/float.hpp 2015-03-25 18:36:05 +0900 (8ec2751) @@ -98,11 +98,11 @@ class Float { raw_ *= rhs.raw_; return *this; } - Float &operator/=(Float rhs) &{ + Float &operator/=(Float rhs) & { raw_ /= rhs.raw_; return *this; } - Float &operator%=(Float rhs) &{ + Float &operator%=(Float rhs) & { raw_ = std::fmod(raw_, rhs.raw_); return *this; } Modified: include/grnxx/data_types/scalar/int.hpp (+2 -2) =================================================================== --- include/grnxx/data_types/scalar/int.hpp 2015-03-25 18:34:57 +0900 (4799db1) +++ include/grnxx/data_types/scalar/int.hpp 2015-03-25 18:36:05 +0900 (cd0a58b) @@ -195,13 +195,13 @@ class Int { Int &operator*=(Int rhs) & { return *this = operator*(rhs); } - Int &operator/=(Int rhs) &{ + Int &operator/=(Int rhs) & { if (!is_na()) { raw_ = (rhs.is_na() || (rhs.raw_ == 0)) ? raw_na() : (raw_ / rhs.raw_); } return *this; } - Int &operator%=(Int rhs) &{ + Int &operator%=(Int rhs) & { if (!is_na()) { raw_ = (rhs.is_na() || (rhs.raw_ == 0)) ? raw_na() : (raw_ % rhs.raw_); } -------------- next part -------------- HTML����������������������������...Download