Skip to content

Commit 29d2ea8

Browse files
Fix aligned_storage warnings (#1569)
1 parent 00bac4c commit 29d2ea8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

loader/include/Geode/c++stl/gnustl/ext/aligned_buffer.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#pragma GCC system_header
3232

3333
#if __cplusplus >= 201103L
34-
# include <type_traits>
34+
# include "../type_traits.h"
3535
#else
3636
# include <bits/c++0x_warning.h>
3737
#endif
@@ -80,10 +80,10 @@ namespace __gnu_cxx {
8080
// This type is still used to avoid an ABI change.
8181
template<typename _Tp>
8282
struct __aligned_buffer
83-
: std::aligned_storage<sizeof(_Tp), std::alignment_of<_Tp>::value>
83+
: geode::stl::aligned_storage<sizeof(_Tp), geode::stl::alignment_of<_Tp>::value>
8484
{
8585
typename
86-
std::aligned_storage<sizeof(_Tp), std::alignment_of<_Tp>::value>::type
86+
geode::stl::aligned_storage<sizeof(_Tp), geode::stl::alignment_of<_Tp>::value>::type
8787
_M_storage;
8888

8989
void*

0 commit comments

Comments
 (0)