fixed function argument

This commit is contained in:
Krishna Vedala
2020-06-24 10:48:18 -04:00
parent 631b50cede
commit 9b01676b33

View File

@@ -44,7 +44,7 @@ class stack {
}
/** Copy constructor*/
explicit stack(const stack &other) {
explicit stack(const stack<Type> &otherStack) {
node<Type> *newNode, *current, *last;
/* If stack is no empty, make it empty */