flip the order of includes for ease of use

This commit is contained in:
Kirsten Lee 2020-01-16 14:54:13 -08:00
parent 0a2520490b
commit 1b2b7404f7
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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