summaryrefslogtreecommitdiffstats
path: root/googletest/CONTRIBUTORS
diff options
context:
space:
mode:
authortrzeci <kontakt@trzeci.eu>2019-12-17 22:43:31 (GMT)
committertrzeci <kontakt@trzeci.eu>2019-12-17 22:43:31 (GMT)
commit9d8222ad667284cfad8be9cb27b25dab75f34ccb (patch)
treec39c9ed6cf1bc9eaea3b9189cef3eddf2f2b075a /googletest/CONTRIBUTORS
parentd166e09483845b9b6a658dccc3d3dbb293676b62 (diff)
downloadgoogletest-9d8222ad667284cfad8be9cb27b25dab75f34ccb.zip
googletest-9d8222ad667284cfad8be9cb27b25dab75f34ccb.tar.gz
googletest-9d8222ad667284cfad8be9cb27b25dab75f34ccb.tar.bz2
Disable move constructor and assignment operator for test classes.
Disable move operations for TEST() and TEST_F() macros. Previous implementation disabled only copy ctor and assing operator, but this was violating rule of 5[1], which was captured by static code analysis tools like clang-tidy `cppcoreguidelines-special-member-functions`. [1]: https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#c21-if-you-define-or-delete-any-default-operation-define-or-delete-them-all
Diffstat (limited to 'googletest/CONTRIBUTORS')
0 files changed, 0 insertions, 0 deletions