Skip to content

Commit 36e3486

Browse files
committed
cllazyfile: work around LNK2005 error. had to tweak class members so MSVC didn't see MgrNodeBase class twice.
suspect there is a better solution, but I'm not sure what it would be
1 parent 9dcb6aa commit 36e3486

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/cllazyfile/lazyInstMgr.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ class SC_LAZYFILE_EXPORT lazyInstMgr {
7373
void openFile( std::string fname );
7474

7575
void addLazyInstance( namedLazyInstance inst );
76-
instMgrAdapter * getAdapter() {
77-
return _ima;
76+
InstMgrBase * getAdapter() {
77+
return ( InstMgrBase * ) _ima;
7878
}
7979

8080
instanceRefs_t * getFwdRefs() {

src/cllazyfile/sectionReader.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
#include "lazyFileReader.h"
1818
#include "lazyInstMgr.h"
1919
#include "lazyTypes.h"
20-
#include "instMgrHelper.h"
2120

2221
#include "current_function.hpp"
2322

0 commit comments

Comments
 (0)