ide: INITIALIZER removed from Browser for Functions4U compatibility

git-svn-id: svn://ultimatepp.org/upp/trunk@10437 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2016-11-14 15:01:43 +00:00
parent 62c9a44ccb
commit 833757ee83
3 changed files with 7 additions and 4 deletions

View file

@ -20,6 +20,11 @@
#define CPP_CODEBASE_VERSION 3141592
INITBLOCK { // Ugly as hell, but Functions4U are broken, so require this initialization hack instead of INITIALIZER
void InitializeTopicModule();
InitializeTopicModule();
}
ArrayMap<String, SourceFileInfo> source_file;
void SourceFileInfo::Serialize(Stream& s)

View file

@ -14,8 +14,6 @@
#define IMAGEFILE <ide/Browser/Browser.iml>
#include <Draw/iml_header.h>
INITIALIZE(TopicModule)
class Browser;
CppBase& CodeBase();

View file

@ -25,7 +25,7 @@ struct TopicModule : public IdeModule {
}
};
INITIALIZER(TopicModule)
void InitializeTopicModule()
{
RegisterIdeModule(Single<TopicModule>());
}
}