Kaydet (Commit) 95d5922c authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Add static assertion that our Fake_type_info is the same size as the real one

Change-Id: Id8490bb6373d85be2c529a005be55295c530febb
üst 96af0825
......@@ -52,6 +52,9 @@ struct Fake_type_info {
char const * name;
};
BOOST_STATIC_ASSERT(
sizeof (Fake_type_info) == sizeof (std::type_info));
struct Fake_class_type_info: Fake_type_info {};
#if defined(MACOSX) && MACOSX_SDK_VERSION < 1070
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment