]> OCCT Git - occt.git/commit
0030683: Coding Rules - eliminate CLang compiler warnings -Wreturn-std-move
authorkgv <kgv@opencascade.com>
Mon, 29 Apr 2019 16:51:34 +0000 (19:51 +0300)
committerbugmaster <bugmaster@opencascade.com>
Tue, 7 May 2019 11:22:52 +0000 (14:22 +0300)
commit77bc2ad1e077dddf3ae0b03bd54c2174f4e70bef
tree5fabbdd565c4b1010f823d62bce76158a53d1b1e
parent858435884d07a13b97f1480a47748987923b5530
0030683: Coding Rules - eliminate CLang compiler warnings -Wreturn-std-move

Added generalized move constructor and assignment operator to initialize TopoDS_Shape by object of this or derived type.
Added move constructor and assignment operator for TopLoc_SListOfItemLocation.
Macro OCCT_NO_RVALUE_REFERENCE is used in Standard_Handle.hxx instead of direct check of compiler version.
src/Standard/Standard_Handle.hxx
src/TopLoc/FILES
src/TopLoc/TopLoc_SListOfItemLocation.hxx
src/TopLoc/TopLoc_SListOfItemLocation.lxx [deleted file]
src/TopoDS/TopoDS_Shape.hxx