2
0
mirror of https://github.com/boostorg/compat.git synced 2026-01-19 04:02:16 +00:00
Commit Graph

5 Commits

Author SHA1 Message Date
Christian Mazakas
6153916abe Add missing copyright to shared_lock_test.cpp 2024-03-21 10:41:17 -07:00
Ed Catmur
6292106e68 Update shared_lock_test.cpp 2023-08-28 15:51:11 -05:00
Ed Catmur
8f75ad2a75 Also suppress Wself-move under gcc 13
Compiling with gcc 13.1.0:

   ../libs/compat/test/shared_lock_test.cpp: In function 'void {anonymous}::move_assignment()':
   ../libs/compat/test/shared_lock_test.cpp:378:10: error: moving 'lock' of type '{anonymous}::shared_lock_type' {aka 'boost::compat::shared_lock<dummy_lock>'} to itself [-Werror=self-move]
     378 |     lock = std::move( lock );
         |     ~~~~~^~~~~~~~~~~~~~~~~~~
   ../libs/compat/test/shared_lock_test.cpp:378:10: note: remove 'std::move' call
   cc1plus: all warnings being treated as errors
2023-08-15 19:15:46 -05:00
Peter Dimov
d7707f7bf1 Update shared_lock_test.cpp 2023-06-25 11:10:31 +03:00
Christian Mazakas
745eaa080f Implement shared_lock
Note, as a first pass draft we eschew TimedLockable support
2023-06-23 15:57:53 -07:00