Since changing src/mongo/db/matcher/expression_tree.h, we now get errors during compilation, on clang 3.7+.
src/mongo/db/matcher/expression_tree.h:71:16: error: moving a local object in a return statement prevents copy elision [-Werror,-Wpessimizing-move]
- related to
-
SERVER-20506 Conditionally order $match with $unwind
- Closed
-
SERVER-21290 remove pessimizing moves
- Closed