[Groonga-commit] groonga/grnxx at 9df532e [master] Disable assignment to rvalue.

Back to archive index

susumu.yata null+****@clear*****
Wed Aug 20 16:35:03 JST 2014


susumu.yata	2014-08-20 16:35:03 +0900 (Wed, 20 Aug 2014)

  New Revision: 9df532e4e5ef1118991fae8e9ab5770264eff16e
  https://github.com/groonga/grnxx/commit/9df532e4e5ef1118991fae8e9ab5770264eff16e

  Message:
    Disable assignment to rvalue.

  Modified files:
    include/grnxx/types.hpp

  Modified: include/grnxx/types.hpp (+2 -0)
===================================================================
--- include/grnxx/types.hpp    2014-08-20 16:03:19 +0900 (1a013f8)
+++ include/grnxx/types.hpp    2014-08-20 16:35:03 +0900 (aadfeff)
@@ -352,6 +352,8 @@ struct Record {
 
   Record() = default;
   Record(Int row_id, Float score) : row_id(row_id), score(score) {}
+
+  Record &operator=(const Record &) & = default;
 };
 
 enum IndexType {
-------------- next part --------------
HTML����������������������������...
下载 



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