|
-
November 10th, 2010, 04:57 AM
#5
Re: c++ no virtual function found on table
ok, i understand...
i just resolve it declaring s1 and s2 static in a new init() function:
void TColl::init (void)
{
_TOccV<DBE> *p;
static TOcc1 s1;
p = &s1;
_list.push_back(p);
static TOcc2 s2;
p = &s2;
_list.push_back(p);
};
now works but i'm not sure is the right way.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|