From 320d9453d89ee69f24474d0c6dc378ef2c1dffaf Mon Sep 17 00:00:00 2001 From: Shon Ferguson <shonferg@users.sourceforge.net> Date: Thu, 16 Mar 2006 23:44:02 +0000 Subject: [PATCH] One more tiny fix to Clone. --- NIF_Blocks.cpp | 2 +- NIF_Blocks.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NIF_Blocks.cpp b/NIF_Blocks.cpp index 0112aa42..c86d0d88 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 a5dad53e..72cb9a0b 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(); -- GitLab