remove the underscore

This commit is contained in:
Jidong Xiao
2024-02-13 13:22:11 -05:00
parent 8202884d34
commit 0b29ddbbe1

View File

@@ -50,7 +50,7 @@ class list_iterator {
return (this->ptr != other.ptr); return (this->ptr != other.ptr);
} }
// the dslist class needs access to the private ptr_ member variable // the dslist class needs access to the private ptr member variable
friend class dslist<T>; friend class dslist<T>;
private: private:
Node<T>* ptr; Node<T>* ptr;