Skip to content

Commit ef1ae78

Browse files
committed
libcxx: WIP bytelayout
1 parent 480f74d commit ef1ae78

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

libcxx/include/stdexcept

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,11 @@ public:
5454
_LIBCPP_BEGIN_NAMESPACE_STD
5555

5656
typedef int count_t;
57-
struct [[cheerp::bytelayout]] _Rep_base {
57+
struct
58+
#if defined(__CHEERP__) && !defined(__ASMJS__)
59+
[[cheerp::bytelayout]]
60+
#endif
61+
_Rep_base {
5862
std::size_t len;
5963
std::size_t cap;
6064
count_t count;

0 commit comments

Comments
 (0)