fix compilation error

This commit is contained in:
2021-01-10 15:23:40 +01:00
parent 07a8b49373
commit d610ef690f
3 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,6 @@
#ifndef ADT_Stack_H
#define ADT_Stack_H
#include <stack>
#include <vector>
#include <mutex>
@@ -30,4 +33,6 @@ class ADTOperationQueue{
void enqueue(operation op);
operation dequeue();
size_t size();
};
};
#endif

View File

@@ -12,7 +12,7 @@ Stack::Stack(ADTOperationQueue * queue){
void Stack::push(int element) { return; }
int Stack::pop() { return 0; }
void Stack::size() { return 0; }
int Stack::size() { return 0; }
std::string Stack::print_stack(){
Node* c = this->first->next;