COMMON: Remove explicit ctors and copy assignment operator

They're equivalent to the implicit ones anyway.
This commit is contained in:
Orgad Shaneh 2021-03-15 12:19:03 +02:00 committed by David Turner
parent 51935a8569
commit 2aba99819a

View File

@ -45,12 +45,6 @@ class Queue {
// typedef T value_type;
public:
Queue<T>() : _impl() {}
Queue<T>(const Queue<T> &queue) : _impl(queue._impl) {}
#ifdef USE_CXX11
Queue<T> &operator=(const Queue<T> &other) = default; // FIXME: This may need replacing with custom copy operator code
#endif
bool empty() const {
return _impl.empty();
}