added clone functions for nodes
Since nodes are are extremely derivative types, we use a clone/copy function to produce new types of the derived class easily.
This commit is contained in:
@@ -24,7 +24,7 @@ GapBlock::GapBlock()
|
||||
{
|
||||
}
|
||||
|
||||
Block *GapBlock::copy()
|
||||
Node *GapBlock::copy()
|
||||
{
|
||||
GapBlock* c = new GapBlock();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user