mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-01-15 01:10:09 +08:00
flip the order of includes for ease of use
This commit is contained in:
parent
0a2520490b
commit
1b2b7404f7
@ -7,7 +7,6 @@
|
||||
This header can be used to hook mimalloc into STL containers in place of
|
||||
std::allocator.
|
||||
-----------------------------------------------------------------------------*/
|
||||
#include <mimalloc.h>
|
||||
#include <type_traits> // true_type
|
||||
|
||||
#pragma warning(disable: 4100)
|
||||
|
@ -73,6 +73,8 @@ terms of the MIT license. A copy of the license can be found in the file
|
||||
#include <stdbool.h> // bool
|
||||
|
||||
#ifdef __cplusplus
|
||||
#include <mimalloc-stl-allocator.h>
|
||||
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user