Fix memset-of-non-POD bug.

PROG contains vector, but was memset.
This commit is contained in:
nemerle
2016-05-19 16:17:08 +02:00
parent 1df7cb3be4
commit b60903306f
2 changed files with 14 additions and 15 deletions

View File

@@ -15,7 +15,6 @@ OPTION option; /* Command line options */
Project *Project::s_instance = nullptr;
Project::Project() : callGraph(nullptr)
{
memset(&prog,0,sizeof(prog));
}
void Project::initialize()
{