From 1056a2984e2d689c1f7a5c34008961f58343b04f Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Wed, 27 Sep 2017 17:56:15 +0200 Subject: [PATCH] Fix #303 Allocation schema is displayed incorrectly in HTML. Add pre-tag for the schema. --- source/tanya/memory/mmappool.d | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/tanya/memory/mmappool.d b/source/tanya/memory/mmappool.d index 7eb888d..feb25e4 100644 --- a/source/tanya/memory/mmappool.d +++ b/source/tanya/memory/mmappool.d @@ -89,6 +89,7 @@ else version (Windows) * block as free and only if all blocks in the region are free, the complete * region is deallocated. * + *
  * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  * |      |     |         |     |            ||      |     |                  |
  * |      |prev <-----------    |            ||      |     |                  |
@@ -100,6 +101,7 @@ else version (Windows)
  * |  N   |    -----------> next|            ||   N  |     |                  |
  * |      |     |         |     |            ||      |     |                  |
  * ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ * 
*/ final class MmapPool : Allocator {