mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-03 10:35:34 +08:00
fixed function argument
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user