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 /source | |
| parent | 5e6f8446d881ea7aa45fdd8d9af9e7a30118eb10 (diff) | |
| download | tanya-cbeb0395f92d64ffdd73e1896cbfa25588f868dd.tar.gz | |
Remove @safe from potentially unsafe code
Diffstat (limited to 'source')
| -rw-r--r-- | source/tanya/async/watcher.d | 2 | ||||
| -rw-r--r-- | source/tanya/memory/mmappool.d | 2 |
2 files changed, 2 insertions, 2 deletions
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); |
