diff --git a/CHANGELOG.md b/CHANGELOG.md index 238c23a9..bfb3d9fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ Version 81: * better is_final on empty_base_optimization * Suppress incorrect GCC warning * multi_buffer ctor is explicit +* File is not copy-constructible -------------------------------------------------------------------------------- diff --git a/test/core/file_posix.cpp b/test/core/file_posix.cpp index 2a8bd046..347be757 100644 --- a/test/core/file_posix.cpp +++ b/test/core/file_posix.cpp @@ -17,6 +17,8 @@ namespace beast { +BOOST_STATIC_ASSERT(! std::is_copy_constructible::value); + class file_posix_test : public beast::unit_test::suite { diff --git a/test/core/file_stdio.cpp b/test/core/file_stdio.cpp index 3bb61e24..95e35212 100644 --- a/test/core/file_stdio.cpp +++ b/test/core/file_stdio.cpp @@ -15,6 +15,8 @@ namespace beast { +BOOST_STATIC_ASSERT(! std::is_copy_constructible::value); + class file_stdio_test : public beast::unit_test::suite { diff --git a/test/core/file_win32.cpp b/test/core/file_win32.cpp index 91530a70..e2c3263d 100644 --- a/test/core/file_win32.cpp +++ b/test/core/file_win32.cpp @@ -17,6 +17,8 @@ namespace beast { +BOOST_STATIC_ASSERT(! std::is_copy_constructible::value); + class file_win32_test : public beast::unit_test::suite {