Step 3 of removing cargo-cult pragma pack around rtl_[u]String
see 8ae3ae4bf7 "Step 1 of removing cargo-cult
pragma pack around rtl_[u]String"
Change-Id: If6c2ea0ab2e7e61cdbc880d7b27d2af7f816e66d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158568
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
This commit is contained in:
committed by
Stephan Bergmann
parent
c4d420a7fb
commit
76400f6609
@@ -31,13 +31,6 @@
|
||||
|
||||
#include <rtl/math.h>
|
||||
|
||||
#if defined _WIN32
|
||||
// Temporary check to verify that the #pragma pack around rtl_String is indeed cargo cult and can
|
||||
// safely be removed:
|
||||
static_assert(alignof (rtl_String) == 4);
|
||||
static_assert(sizeof (rtl_String) == 12);
|
||||
#endif
|
||||
|
||||
/* ======================================================================= */
|
||||
|
||||
#if USE_SDT_PROBES
|
||||
|
||||
@@ -40,13 +40,6 @@
|
||||
|
||||
#include <rtl/math.h>
|
||||
|
||||
#if defined _WIN32
|
||||
// Temporary check to verify that the #pragma pack around rtl_uString is indeed cargo cult and can
|
||||
// safely be removed:
|
||||
static_assert(alignof (rtl_uString) == 4);
|
||||
static_assert(sizeof (rtl_uString) == 12);
|
||||
#endif
|
||||
|
||||
/* ======================================================================= */
|
||||
|
||||
#if USE_SDT_PROBES
|
||||
|
||||
Reference in New Issue
Block a user