Switching around entry point to stop VC2015 compiler crashes >_>

This commit is contained in:
Ben Vanik 2015-02-12 07:50:55 -08:00
parent 85a6552f8e
commit 53eaeff690
1 changed files with 4 additions and 2 deletions

View File

@ -29,8 +29,10 @@ struct EntryInfo {
};
EntryInfo GetEntryInfo();
#define DEFINE_ENTRY_POINT(name, usage, entry_point) \
poly::EntryInfo poly::GetEntryInfo() { return {name, usage, entry_point}; }
#define DEFINE_ENTRY_POINT(name, usage, entry_point) \
poly::EntryInfo poly::GetEntryInfo() { \
return poly::EntryInfo({name, usage, entry_point}); \
}
} // namespace poly