From 5f18693c49a0c0a7359bb32fefd5f8719950a573 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Mon, 9 Jul 2018 09:19:35 +0200 Subject: [PATCH] Mark the Path(Segment) constructor as nothrow. --- source/vibe/core/path.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/vibe/core/path.d b/source/vibe/core/path.d index 5dcfaee..dae32fa 100644 --- a/source/vibe/core/path.d +++ b/source/vibe/core/path.d @@ -384,7 +384,7 @@ struct GenericPath(F) { single-element range. */ this(Segment segment) - { + nothrow { import std.range : only; this(only(segment)); }