susumu.yata
null+****@clear*****
Mon Dec 1 17:49:51 JST 2014
susumu.yata 2014-12-01 17:49:51 +0900 (Mon, 01 Dec 2014) New Revision: 4c96709c6caeccc43191aa66deceaa7a0c5b5b6a https://github.com/groonga/grnxx/commit/4c96709c6caeccc43191aa66deceaa7a0c5b5b6a Message: Remove Array::set() that uses std::move() for trivial types. Modified files: include/grnxx/array.hpp Modified: include/grnxx/array.hpp (+0 -4) =================================================================== --- include/grnxx/array.hpp 2014-12-01 17:44:02 +0900 (71ed433) +++ include/grnxx/array.hpp 2014-12-01 17:49:51 +0900 (5c2e01a) @@ -438,10 +438,6 @@ class Array<T, true> { void set(size_t i, const Value &value) { buffer()[i] = value; } - // Set the "i"-th value. - void set(size_t i, Value &&value) { - buffer()[i] = std::move(value); - } // Return a reference to the "i"-th value. Value &operator[](size_t i) { -------------- next part -------------- HTML����������������������������...Download