Remove globalconfig.h includes.
This commit is contained in:
committed by
Matthew Parkinson
parent
d6bae72b20
commit
0cfa8f2cff
@@ -1,7 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include "../ds/helpers.h"
|
||||
#include "globalconfig.h"
|
||||
#include "localalloc.h"
|
||||
|
||||
#if defined(SNMALLOC_EXTERNAL_THREAD_ALLOC)
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#include "../snmalloc_core.h"
|
||||
|
||||
#ifndef SNMALLOC_PROVIDE_OWN_CONFIG
|
||||
# include "../mem/globalconfig.h"
|
||||
// The default configuration for snmalloc is used if alternative not defined
|
||||
namespace snmalloc
|
||||
{
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
// Core implementation of snmalloc independent of the configuration mode
|
||||
#include "snmalloc_core.h"
|
||||
|
||||
// Default implementation of global state
|
||||
#include "mem/globalconfig.h"
|
||||
|
||||
// The default configuration for snmalloc
|
||||
namespace snmalloc
|
||||
{
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#pragma once
|
||||
|
||||
#include "mem/globalalloc.h"
|
||||
#include "mem/globalconfig.h"
|
||||
#include "mem/globalalloc.h"
|
||||
@@ -1,5 +1,4 @@
|
||||
#include "mem/fixedglobalconfig.h"
|
||||
#include "mem/globalconfig.h"
|
||||
#include "test/setup.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
|
||||
// Specify using own
|
||||
#define SNMALLOC_EXTERNAL_THREAD_ALLOC
|
||||
|
||||
#include "mem/globalconfig.h"
|
||||
|
||||
namespace snmalloc
|
||||
{
|
||||
using Alloc = snmalloc::LocalAllocator<snmalloc::Globals>;
|
||||
|
||||
Reference in New Issue
Block a user