diff options
| author | Eugen Wissner <belka@caraus.de> | 2016-11-30 16:21:20 +0100 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2016-11-30 16:21:20 +0100 |
| commit | cbeb0395f92d64ffdd73e1896cbfa25588f868dd (patch) | |
| tree | 0147960d550228105fcabee7137bb25b3e0d5455 | |
| parent | 5e6f8446d881ea7aa45fdd8d9af9e7a30118eb10 (diff) | |
| download | tanya-cbeb0395f92d64ffdd73e1896cbfa25588f868dd.tar.gz | |
Remove @safe from potentially unsafe code
| -rw-r--r-- | README.md | 14 | ||||
| -rw-r--r-- | source/tanya/async/watcher.d | 2 | ||||
| -rw-r--r-- | source/tanya/memory/mmappool.d | 2 |
3 files changed, 5 insertions, 13 deletions
@@ -1,12 +1,4 @@ -# This repository is abandoned +# tanya -Please note that this repository is now abandoned. I'm currently working on merging the code into -[dlib](https://github.com/gecko0307/dlib). - -This repository will be kept alive for some time for reference purpose and as a sandbox for new features. - -# D event loop - -tanya's mission was to provide a GC-free, general purpose library for D programming language for developing servers. -Since dlib follows similar rules I decided that it would be better to extend and improve an existing library. -Dlib has some features like containers I can build on without developing everything by myself. +tanya's mission is to provide a GC-free, general purpose library for D +programming language for developing servers. diff --git a/source/tanya/async/watcher.d b/source/tanya/async/watcher.d index 08fe6df..260c6a3 100644 --- a/source/tanya/async/watcher.d +++ b/source/tanya/async/watcher.d @@ -174,7 +174,7 @@ class IOWatcher : ConnectionWatcher * * Returns: $(D_KEYWORD this). */ - IOWatcher opCall(StreamTransport transport, Protocol protocol) pure nothrow @safe @nogc + IOWatcher opCall(StreamTransport transport, Protocol protocol) pure nothrow @nogc in { assert(transport !is null); diff --git a/source/tanya/memory/mmappool.d b/source/tanya/memory/mmappool.d index 2917afe..ed761ad 100644 --- a/source/tanya/memory/mmappool.d +++ b/source/tanya/memory/mmappool.d @@ -268,7 +268,7 @@ class MmapPool : Allocator } /// - @nogc @safe nothrow unittest + @nogc nothrow unittest { void[] p; MmapPool.instance.reallocate(p, 10 * int.sizeof); |
