Update TinySTL. (#340)

This commit is contained in:
Martijn Courteaux
2025-01-25 23:09:15 +01:00
committed by GitHub
parent 8ebafda960
commit 2a03cec5d6
13 changed files with 627 additions and 206 deletions

View File

@@ -1,5 +1,5 @@
/*-
* Copyright 2012 Matthew Endsley
* Copyright 2012-2018 Matthew Endsley
* All rights reserved
*
* Redistribution and use in source and binary forms, with or without
@@ -27,9 +27,7 @@
#ifndef TINYSTL_ALLOCATOR_H
#define TINYSTL_ALLOCATOR_H
#include "stddef.h"
#ifndef TINYSTL_ALLOCATOR
#include <tinystl/stddef.h>
namespace tinystl {
@@ -44,7 +42,8 @@ namespace tinystl {
};
}
#ifndef TINYSTL_ALLOCATOR
# define TINYSTL_ALLOCATOR ::tinystl::allocator
#endif // TINYSTL_ALLOCATOR
#endif
#endif