diff --git a/src/cllazyfile/lazyInstMgr.h b/src/cllazyfile/lazyInstMgr.h index a275e4a1..3a7e682c 100644 --- a/src/cllazyfile/lazyInstMgr.h +++ b/src/cllazyfile/lazyInstMgr.h @@ -73,8 +73,8 @@ class SC_LAZYFILE_EXPORT lazyInstMgr { void openFile( std::string fname ); void addLazyInstance( namedLazyInstance inst ); - instMgrAdapter * getAdapter() { - return _ima; + InstMgrBase * getAdapter() { + return ( InstMgrBase * ) _ima; } instanceRefs_t * getFwdRefs() { diff --git a/src/cllazyfile/sectionReader.cc b/src/cllazyfile/sectionReader.cc index c15340aa..8de914de 100644 --- a/src/cllazyfile/sectionReader.cc +++ b/src/cllazyfile/sectionReader.cc @@ -17,7 +17,6 @@ #include "lazyFileReader.h" #include "lazyInstMgr.h" #include "lazyTypes.h" -#include "instMgrHelper.h" #include "current_function.hpp"