summaryrefslogtreecommitdiff
path: root/src/jemalloc_cpp.cpp
diff options
context:
space:
mode:
authorDavid Goldblatt <davidgoldblatt@fb.com>2017-04-10 18:17:55 -0700
committerDavid Goldblatt <davidtgoldblatt@gmail.com>2017-04-11 11:52:30 -0700
commit743d940dc34495e61145bbe4901ae2c2dcd4c4ef (patch)
tree9c512dad27edfde8d130c945d6e94494158172ed /src/jemalloc_cpp.cpp
parent0237870c60104b418ce78b86752bf44b3b478b97 (diff)
Header refactoring: Split up jemalloc_internal.h
This is a biggy. jemalloc_internal.h has been doing multiple jobs for a while now: - The source of system-wide definitions. - The catch-all include file. - The module header file for jemalloc.c This commit splits up this functionality. The system-wide definitions responsibility has moved to jemalloc_preamble.h. The catch-all include file is now jemalloc_internal_includes.h. The module headers for jemalloc.c are now in jemalloc_internal_[externs|inlines|types].h, just as they are for the other modules.
Diffstat (limited to 'src/jemalloc_cpp.cpp')
-rw-r--r--src/jemalloc_cpp.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jemalloc_cpp.cpp b/src/jemalloc_cpp.cpp
index 9692b5ba..b6d7c9a5 100644
--- a/src/jemalloc_cpp.cpp
+++ b/src/jemalloc_cpp.cpp
@@ -2,7 +2,8 @@
#include <new>
#define JEMALLOC_CPP_CPP_
-#include "jemalloc/internal/jemalloc_internal.h"
+#include "jemalloc/internal/jemalloc_preamble.h"
+#include "jemalloc/internal/jemalloc_internal_includes.h"
// All operators in this file are exported.