susumu.yata
null+****@clear*****
Thu Oct 30 11:36:31 JST 2014
susumu.yata 2014-10-30 11:36:31 +0900 (Thu, 30 Oct 2014) New Revision: 47d9a66c3c780408d793d4126b3c668bd68c7448 https://github.com/groonga/grnxx/commit/47d9a66c3c780408d793d4126b3c668bd68c7448 Message: Remove a wrong constexpr. Modified files: include/grnxx/data_types/scalar/float.hpp Modified: include/grnxx/data_types/scalar/float.hpp (+1 -1) =================================================================== --- include/grnxx/data_types/scalar/float.hpp 2014-10-30 10:55:27 +0900 (0bc72e2) +++ include/grnxx/data_types/scalar/float.hpp 2014-10-30 11:36:31 +0900 (be40c1f) @@ -64,7 +64,7 @@ class Float { constexpr Float operator/(Float rhs) const { return Float(value_ / rhs.value_); } - constexpr Float operator%(Float rhs) const { + Float operator%(Float rhs) const { return Float(std::fmod(value_, rhs.value_)); } -------------- next part -------------- HTML����������������������������...下載