diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-12-26 14:20:05 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-12-26 15:23:17 +0200 |
commit | 95d5922c0290ecd9de17183a95c068592a2c5a4f (patch) | |
tree | d44eef266f69cac18d2344cfee9043fa0b5df457 /bridges | |
parent | 96af0825ab0d3d36df25a3983f9f422e987cb572 (diff) |
Add static assertion that our Fake_type_info is the same size as the real one
Change-Id: Id8490bb6373d85be2c529a005be55295c530febb
Diffstat (limited to 'bridges')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_ios_arm/except.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bridges/source/cpp_uno/gcc3_ios_arm/except.cxx b/bridges/source/cpp_uno/gcc3_ios_arm/except.cxx index e4315902a9cd..22026ccfff57 100644 --- a/bridges/source/cpp_uno/gcc3_ios_arm/except.cxx +++ b/bridges/source/cpp_uno/gcc3_ios_arm/except.cxx @@ -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 |