X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FStandard%2FStandard_Handle.hxx;h=c2d6f2f20da619646cbdc761105d164119b758bd;hb=77bc2ad1e077dddf3ae0b03bd54c2174f4e70bef;hpb=858435884d07a13b97f1480a47748987923b5530 diff --git a/src/Standard/Standard_Handle.hxx b/src/Standard/Standard_Handle.hxx index d411ae52ac..c2d6f2f20d 100644 --- a/src/Standard/Standard_Handle.hxx +++ b/src/Standard/Standard_Handle.hxx @@ -70,8 +70,7 @@ namespace opencascade { BeginScope(); } -#if(defined(_MSC_VER) && (_MSC_VER < 1600)) -#else +#ifndef OCCT_NO_RVALUE_REFERENCE //! Move constructor handle (handle&& theHandle) : entity(theHandle.entity) { @@ -114,8 +113,7 @@ namespace opencascade { return *this; } -#if(defined(_MSC_VER) && (_MSC_VER < 1600)) -#else +#ifndef OCCT_NO_RVALUE_REFERENCE //! Move operator handle& operator= (handle&& theHandle) { @@ -309,8 +307,7 @@ namespace opencascade { BeginScope(); } -#if(defined(_MSC_VER) && (_MSC_VER < 1600)) -#else +#ifndef OCCT_NO_RVALUE_REFERENCE //! Generalized move constructor template handle (handle&& theHandle, typename std::enable_if ::value>::type* = nullptr) @@ -330,8 +327,7 @@ namespace opencascade { return *this; } -#if(defined(_MSC_VER) && (_MSC_VER < 1600)) -#else +#ifndef OCCT_NO_RVALUE_REFERENCE //! Generalized move operator template handle& operator= (handle&& theHandle)