Allow move for TSLQIter
Should fix builds of UDPConnection.cpp with "-std=c++11".
This commit is contained in:
parent
b781257a17
commit
5738ff4ec0
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue