gcc-13 rebind compile failures fix
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72792#c7 Formatting fix
This commit is contained in:
parent
0ae7624c14
commit
af2a93f414
@ -21,8 +21,9 @@ struct bad_allocator : std::allocator<T>
|
||||
using std::allocator<T>::allocator;
|
||||
|
||||
template<typename U>
|
||||
struct rebind {
|
||||
using other = bad_allocator<U>;
|
||||
struct rebind
|
||||
{
|
||||
using other = bad_allocator<U>;
|
||||
};
|
||||
|
||||
template<class... Args>
|
||||
|
||||
@ -188,8 +188,9 @@ template<class T>
|
||||
class my_allocator : public std::allocator<T>
|
||||
{
|
||||
template<typename U>
|
||||
struct rebind {
|
||||
using other = my_allocator<U>;
|
||||
struct rebind
|
||||
{
|
||||
using other = my_allocator<U>;
|
||||
};
|
||||
|
||||
public:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user