diff --git a/NIF_Blocks.cpp b/NIF_Blocks.cpp index 0112aa42a9e8c50fcb3b3236726e665e879c3f11..c86d0d88ff85e012b61fc4c8d2f3bcd98f3a3e2e 100644 --- a/NIF_Blocks.cpp +++ b/NIF_Blocks.cpp @@ -307,7 +307,7 @@ blk_ref ABlock::Clone( unsigned int version ) { cout << "Getting a list of all the links in this block" << endl; //Get a list of all the links in this block - list<blk_ref> link_list = GetLinks(); + list<blk_ref> link_list = this->GetLinks(); cout << "Putting the links into a vector & resetting block numbers" << endl; diff --git a/NIF_Blocks.h b/NIF_Blocks.h index a5dad53ee1c7043033c7f2ea156cf1928b516a38..72cb9a0b1c15031809b2db47954bb883944af887 100644 --- a/NIF_Blocks.h +++ b/NIF_Blocks.h @@ -105,7 +105,7 @@ public: //Links blk_ref GetParent() const; - virtual list<blk_ref> GetLinks() const; + list<blk_ref> GetLinks() const; //Reference Counting void AddRef();