mirror of
https://github.com/13hannes11/UU_la_parallel_programming_practical_assignments.git
synced 2024-09-04 00:50:58 +02:00
shortened constructor of set
This commit is contained in:
@@ -4,8 +4,7 @@
|
|||||||
Set::Set(std::string _name){
|
Set::Set(std::string _name){
|
||||||
name = _name;
|
name = _name;
|
||||||
first = Node::Dummy();
|
first = Node::Dummy();
|
||||||
Node* last = Node::Dummy();
|
first->next = Node::Dummy();
|
||||||
first->next = last;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Set::add(int element) { return false; }
|
bool Set::add(int element) { return false; }
|
||||||
|
|||||||
Reference in New Issue
Block a user