Allow move for TSLQIter
All checks were successful
Publish doxygen documentation to seodisparate.com / doxygen-gen-and-publish (push) Successful in 1s
Run UnitTests / build-and-run-tests (push) Successful in 18s

Should fix builds of UDPConnection.cpp with "-std=c++11".
This commit is contained in:
Stephen Seo 2024-01-12 16:32:42 +09:00
parent b781257a17
commit 5738ff4ec0

View file

@ -72,6 +72,10 @@ class TSLQueue {
TSLQIter(const TSLQIter &) = delete;
TSLQIter& operator=(const TSLQIter &) = delete;
// Allow move.
TSLQIter(TSLQIter &&) = default;
TSLQIter& operator=(TSLQIter &&) = default;
std::unique_ptr<T> current();
bool next();
bool prev();