[Groonga-commit] groonga/grnxx at 7445586 [master] Fix a bug that BITWISE_NOT for Int is not available. (#37)

Back to archive index

susumu.yata null+****@clear*****
Mon Aug 18 16:11:49 JST 2014


susumu.yata	2014-08-18 16:11:49 +0900 (Mon, 18 Aug 2014)

  New Revision: 74455866798266776ff2cbc58843970db41e2408
  https://github.com/groonga/grnxx/commit/74455866798266776ff2cbc58843970db41e2408

  Message:
    Fix a bug that BITWISE_NOT for Int is not available. (#37)

  Modified files:
    lib/grnxx/expression.cpp

  Modified: lib/grnxx/expression.cpp (+1 -1)
===================================================================
--- lib/grnxx/expression.cpp    2014-08-18 16:09:22 +0900 (4a4a7e0)
+++ lib/grnxx/expression.cpp    2014-08-18 16:11:49 +0900 (8a5fca3)
@@ -2552,7 +2552,7 @@ unique_ptr<ExpressionNode> ExpressionBuilder::create_unary_node(
         case BOOL_DATA: {
           return BitwiseNotNode<Bool>::create(error, std::move(arg));
         }
-        case FLOAT_DATA: {
+        case INT_DATA: {
           return BitwiseNotNode<Int>::create(error, std::move(arg));
         }
         default: {
-------------- next part --------------
HTML����������������������������...
다운로드 



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