diff --git "a/Algorithms/\347\272\277\346\200\247\347\273\223\346\236\204/\346\240\210/Stack.cpp" "b/Algorithms/\347\272\277\346\200\247\347\273\223\346\236\204/\346\240\210/Stack.cpp" index 068d7d7..194d399 100644 --- "a/Algorithms/\347\272\277\346\200\247\347\273\223\346\236\204/\346\240\210/Stack.cpp" +++ "b/Algorithms/\347\272\277\346\200\247\347\273\223\346\236\204/\346\240\210/Stack.cpp" @@ -12,7 +12,7 @@ Stack::Stack() bool Stack::isEmpty() const { - return _top >= 0; + return _top >! 0; } bool Stack::isFull() const