diff --git a/libs/hwdrivers/include/mrpt/hwdrivers/CDUO3DCamera.h b/libs/hwdrivers/include/mrpt/hwdrivers/CDUO3DCamera.h index 928f1adf7e..7b51d33697 100644 --- a/libs/hwdrivers/include/mrpt/hwdrivers/CDUO3DCamera.h +++ b/libs/hwdrivers/include/mrpt/hwdrivers/CDUO3DCamera.h @@ -250,8 +250,8 @@ class CDUO3DCamera }; // End of class -static_assert(!std::is_copy_constructible::value, "Copy Check"); -static_assert(!std::is_copy_assignable::value, "Assign Check"); +static_assert(!std::is_copy_constructible_v, "Copy Check"); +static_assert(!std::is_copy_assignable_v, "Assign Check"); } #endif diff --git a/libs/hwdrivers/include/mrpt/hwdrivers/CGenericSensor.h b/libs/hwdrivers/include/mrpt/hwdrivers/CGenericSensor.h index d2996f8e77..676ecdfb7c 100644 --- a/libs/hwdrivers/include/mrpt/hwdrivers/CGenericSensor.h +++ b/libs/hwdrivers/include/mrpt/hwdrivers/CGenericSensor.h @@ -297,8 +297,8 @@ class CGenericSensor }; // end of class static_assert( - !std::is_copy_constructible::value && - !std::is_copy_assignable::value, + !std::is_copy_constructible_v && + !std::is_copy_assignable_v, "Copy Check"); #define SENSOR_CLASS_ID(class_name) \ diff --git a/libs/hwdrivers/include/mrpt/hwdrivers/CImageGrabber_FlyCapture2.h b/libs/hwdrivers/include/mrpt/hwdrivers/CImageGrabber_FlyCapture2.h index ce97b50a81..a2ac14081f 100644 --- a/libs/hwdrivers/include/mrpt/hwdrivers/CImageGrabber_FlyCapture2.h +++ b/libs/hwdrivers/include/mrpt/hwdrivers/CImageGrabber_FlyCapture2.h @@ -280,8 +280,8 @@ class CImageGrabber_FlyCapture2 inline bool isStereo() { return m_options.stereo_mode; } }; // End of class static_assert( - !std::is_copy_constructible::value && - !std::is_copy_assignable::value, + !std::is_copy_constructible_v && + !std::is_copy_assignable_v, "Copy Check"); } #endif diff --git a/libs/hwdrivers/include/mrpt/hwdrivers/CStereoGrabber_Bumblebee_libdc1394.h b/libs/hwdrivers/include/mrpt/hwdrivers/CStereoGrabber_Bumblebee_libdc1394.h index 43bbacd56b..c1f0bd2482 100644 --- a/libs/hwdrivers/include/mrpt/hwdrivers/CStereoGrabber_Bumblebee_libdc1394.h +++ b/libs/hwdrivers/include/mrpt/hwdrivers/CStereoGrabber_Bumblebee_libdc1394.h @@ -69,8 +69,8 @@ class CStereoGrabber_Bumblebee_libdc1394 bool m_bInitialized; }; // End of class static_assert( - !std::is_copy_constructible::value && - !std::is_copy_assignable::value, + !std::is_copy_constructible_v && + !std::is_copy_assignable_v, "Copy Check"); } diff --git a/libs/hwdrivers/include/mrpt/hwdrivers/CStereoGrabber_SVS.h b/libs/hwdrivers/include/mrpt/hwdrivers/CStereoGrabber_SVS.h index e533c29708..e09025b2d3 100644 --- a/libs/hwdrivers/include/mrpt/hwdrivers/CStereoGrabber_SVS.h +++ b/libs/hwdrivers/include/mrpt/hwdrivers/CStereoGrabber_SVS.h @@ -114,8 +114,8 @@ class CStereoGrabber_SVS }; // End of class static_assert( - !std::is_copy_constructible::value && - !std::is_copy_assignable::value, + !std::is_copy_constructible_v && + !std::is_copy_assignable_v, "Copy Check"); } #endif diff --git a/libs/io/include/mrpt/io/CFileGZOutputStream.h b/libs/io/include/mrpt/io/CFileGZOutputStream.h index adfeebfd7a..f5a6637d08 100644 --- a/libs/io/include/mrpt/io/CFileGZOutputStream.h +++ b/libs/io/include/mrpt/io/CFileGZOutputStream.h @@ -69,8 +69,8 @@ class CFileGZOutputStream : public CStream size_t Write(const void* Buffer, size_t Count) override; }; // End of class def. static_assert( - !std::is_copy_constructible::value && - !std::is_copy_assignable::value, + !std::is_copy_constructible_v && + !std::is_copy_assignable_v, "Copy Check"); } diff --git a/libs/io/include/mrpt/io/CFileOutputStream.h b/libs/io/include/mrpt/io/CFileOutputStream.h index 45017c5188..ccd7403b94 100644 --- a/libs/io/include/mrpt/io/CFileOutputStream.h +++ b/libs/io/include/mrpt/io/CFileOutputStream.h @@ -76,8 +76,8 @@ class CFileOutputStream : public CStream size_t Write(const void* Buffer, size_t Count) override; }; // End of class def. static_assert( - !std::is_copy_constructible::value && - !std::is_copy_assignable::value, + !std::is_copy_constructible_v && + !std::is_copy_assignable_v, "Copy Check"); } diff --git a/libs/io/include/mrpt/io/CPipe.h b/libs/io/include/mrpt/io/CPipe.h index 5c11749926..3ce080aeca 100644 --- a/libs/io/include/mrpt/io/CPipe.h +++ b/libs/io/include/mrpt/io/CPipe.h @@ -114,8 +114,8 @@ class CPipeBaseEndPoint : public mrpt::io::CStream virtual uint64_t getPosition() const override; }; // end of CPipeBaseEndPoint static_assert( - !std::is_copy_constructible::value && - !std::is_copy_assignable::value, + !std::is_copy_constructible_v && + !std::is_copy_assignable_v, "Copy Check"); /** The read end-point in a pipe created with mrpt::synch::CPipe. diff --git a/libs/io/src/CFileGZInputStream.cpp b/libs/io/src/CFileGZInputStream.cpp index 4109ff82b1..ca482d3fbc 100644 --- a/libs/io/src/CFileGZInputStream.cpp +++ b/libs/io/src/CFileGZInputStream.cpp @@ -19,8 +19,8 @@ using namespace mrpt::io; using namespace std; static_assert( - !std::is_copy_constructible::value && - !std::is_copy_assignable::value, + !std::is_copy_constructible_v && + !std::is_copy_assignable_v, "Copy Check"); #define THE_GZFILE reinterpret_cast(m_f) diff --git a/libs/io/src/CFileInputStream.cpp b/libs/io/src/CFileInputStream.cpp index 1294ef7052..3efb37da4d 100644 --- a/libs/io/src/CFileInputStream.cpp +++ b/libs/io/src/CFileInputStream.cpp @@ -16,8 +16,8 @@ using namespace mrpt::io; using namespace std; static_assert( - !std::is_copy_constructible::value && - !std::is_copy_assignable::value, + !std::is_copy_constructible_v && + !std::is_copy_assignable_v, "Copy Check"); CFileInputStream::CFileInputStream(const string& fileName) : m_if() diff --git a/libs/io/src/CFileStream.cpp b/libs/io/src/CFileStream.cpp index d6576032aa..43bba46e3f 100644 --- a/libs/io/src/CFileStream.cpp +++ b/libs/io/src/CFileStream.cpp @@ -18,8 +18,8 @@ using namespace mrpt::io; using namespace std; static_assert( - !std::is_copy_constructible::value && - !std::is_copy_assignable::value, + !std::is_copy_constructible_v && + !std::is_copy_assignable_v, "Copy Check"); /*--------------------------------------------------------------- diff --git a/libs/math/include/mrpt/math/CSparseMatrix.h b/libs/math/include/mrpt/math/CSparseMatrix.h index 858509c7ee..3ce67c7351 100644 --- a/libs/math/include/mrpt/math/CSparseMatrix.h +++ b/libs/math/include/mrpt/math/CSparseMatrix.h @@ -498,8 +498,8 @@ class CSparseMatrix void update(const CSparseMatrix& new_SM); }; static_assert( - !std::is_copy_constructible::value && - !std::is_copy_assignable::value, + !std::is_copy_constructible_v && + !std::is_copy_assignable_v, "Copy Check"); /** @} */ diff --git a/libs/system/src/CTicTac.cpp b/libs/system/src/CTicTac.cpp index 455e2ca4c1..d86bfabaaf 100644 --- a/libs/system/src/CTicTac.cpp +++ b/libs/system/src/CTicTac.cpp @@ -22,8 +22,8 @@ #include static_assert( - !std::is_copy_constructible::value && - !std::is_copy_assignable::value, + !std::is_copy_constructible_v && + !std::is_copy_assignable_v, "Copy Check"); // For Windows: get the common code out of CTicTac so it's only run once!