Skip to content

Commit 7bd1d72

Browse files
authored
Update readme.md to fix links (issue #978)
1 parent 095abc9 commit 7bd1d72

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ to link with the static library. See `test\CMakeLists.txt` for an example.
253253

254254
For best performance in C++ programs, it is also recommended to override the
255255
global `new` and `delete` operators. For convenience, mimalloc provides
256-
[`mimalloc-new-delete.h`](https://github.com/microsoft/mimalloc/blob/master/include/mimalloc-new-delete.h) which does this for you -- just include it in a single(!) source file in your project.
256+
[`mimalloc-new-delete.h`](include/mimalloc-new-delete.h) which does this for you -- just include it in a single(!) source file in your project.
257257
In C++, mimalloc also provides the `mi_stl_allocator` struct which implements the `std::allocator`
258258
interface.
259259

@@ -458,7 +458,7 @@ There are four requirements to make the overriding work well:
458458

459459
For best performance on Windows with C++, it
460460
is also recommended to also override the `new`/`delete` operations (by including
461-
[`mimalloc-new-delete.h`](../include/mimalloc-new-delete.h)
461+
[`mimalloc-new-delete.h`](include/mimalloc-new-delete.h)
462462
a single(!) source file in your project).
463463

464464
The environment variable `MIMALLOC_DISABLE_REDIRECT=1` can be used to disable dynamic
@@ -487,7 +487,7 @@ object file. For example:
487487
Another way to override statically that works on all platforms, is to
488488
link statically to mimalloc (as shown in the introduction) and include a
489489
header file in each source file that re-defines `malloc` etc. to `mi_malloc`.
490-
This is provided by [`mimalloc-override.h`](https://github.com/microsoft/mimalloc/blob/master/include/mimalloc-override.h). This only works reliably though if all sources are
490+
This is provided by [`mimalloc-override.h`](include/mimalloc-override.h). This only works reliably though if all sources are
491491
under your control or otherwise mixing of pointers from different heaps may occur!
492492

493493

0 commit comments

Comments
 (0)