diff --git a/src/include/xlist.h b/src/include/xlist.h index 26a6b9d5746..53aa3ab06fc 100644 --- a/src/include/xlist.h +++ b/src/include/xlist.h @@ -61,8 +61,11 @@ private: int _size; public: - xlist(const xlist& other); - const xlist& operator=(const xlist& other); + xlist(const xlist& other) { + _front = other._front; + _back = other._back; + _size = other._size; + } xlist() : _front(0), _back(0), _size(0) {} ~xlist() {