Arthur O'Dwyer 766ac2e1a4 Remove all uses of GTEST_DISALLOW_{MOVE_,}ASSIGN_.
None of these are strictly needed for correctness.
A large number of them (maybe all of them?) trigger `-Wdeprecated`
warnings on Clang trunk as soon as you try to use the implicitly
defaulted (but deprecated) copy constructor of a class that has
deleted its copy assignment operator.

By declaring a deleted copy assignment operator, the old code
also caused the move constructor and move assignment operator
to be non-declared. This means that the old code never got move
semantics -- "move-construction" would simply call the defaulted
(but deprecated) copy constructor instead. With the new code,
"move-construction" calls the defaulted move constructor, which
I believe is what we want to happen. So this is a runtime
performance optimization.

Unfortunately we can't yet physically remove the definitions
of these macros from gtest-port.h, because they are being used
by other code internally at Google (according to zhangxy988).
But no new uses should be added going forward.
2020-04-23 22:22:07 -04:00
..
2020-03-17 17:20:23 -04:00
2020-02-07 13:35:27 -05:00
2019-07-16 13:35:16 -04:00
2019-07-17 13:38:25 -04:00
2018-10-29 13:46:16 -04:00
2018-11-20 13:29:40 -05:00
2019-11-22 16:33:15 -05:00
2019-09-16 11:47:35 -04:00
2019-01-02 16:51:33 -05:00
2018-11-20 13:30:24 -05:00
2019-09-12 18:21:31 +02:00