Lioncash 93f7677402 common/thread: Make Barrier's 'count' member non-const
While admirable as a means to ensure immutability, this has the
unfortunate downside of making the class non-movable. std::move cannot
actually perform a move operation if the provided operand has const data
members (std::move acts as an operation to "slide" resources out of an
object instance). Given Barrier contains move-only types such as
std::mutex, this can lead to confusing error messages if an object ever
contained a Barrier instance and said object was attempted to be moved.
2018-11-21 21:47:08 -05:00
..
2018-11-21 03:43:41 -05:00
2018-10-02 15:30:48 +02:00
2018-10-02 16:04:10 +02:00
2018-09-07 11:54:51 +05:30
2018-09-07 11:54:51 +05:30
2018-07-29 15:24:41 +02:00