[Groonga-commit] groonga/grnxx at aa2e08a [master] Remove constexpr from functions that never produce constexpr objects.

Back to archive index

susumu.yata null+****@clear*****
Tue Mar 17 15:31:59 JST 2015


susumu.yata	2015-03-17 15:31:59 +0900 (Tue, 17 Mar 2015)

  New Revision: aa2e08a63e4a487d0a4c4b633f03aa62d24ee2b2
  https://github.com/groonga/grnxx/commit/aa2e08a63e4a487d0a4c4b633f03aa62d24ee2b2

  Message:
    Remove constexpr from functions that never produce constexpr objects.

  Modified files:
    include/grnxx/data_types/scalar/float.hpp

  Modified: include/grnxx/data_types/scalar/float.hpp (+3 -3)
===================================================================
--- include/grnxx/data_types/scalar/float.hpp    2015-03-04 00:28:50 +0900 (a6da27b)
+++ include/grnxx/data_types/scalar/float.hpp    2015-03-17 15:31:59 +0900 (a2393a6)
@@ -35,13 +35,13 @@ class Float {
   constexpr bool is_max() const {
     return raw_ == raw_max();
   }
-  constexpr bool is_finite() const {
+  bool is_finite() const {
     return std::isfinite(raw_);
   }
-  constexpr bool is_infinite() const {
+  bool is_infinite() const {
     return std::isinf(raw_);
   }
-  constexpr bool is_na() const {
+  bool is_na() const {
     return std::isnan(raw_);
   }
 
-------------- next part --------------
HTML����������������������������...
下载 



More information about the Groonga-commit mailing list
Back to archive index