From c0a39b22a68fe0cdff21309d2fb70b4d5df82a13 Mon Sep 17 00:00:00 2001
From: Niels Lohmann <mail@nlohmann.me>
Date: Mon, 20 Apr 2020 19:42:58 +0200
Subject: [PATCH] :rotating_light: fix compiler warning

---
 test/src/unit-allocator.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/src/unit-allocator.cpp b/test/src/unit-allocator.cpp
index 570d0989..9c60e7b9 100644
--- a/test/src/unit-allocator.cpp
+++ b/test/src/unit-allocator.cpp
@@ -251,7 +251,7 @@ struct allocator_no_forward : std::allocator<T>
     };
 
     template <class... Args>
-    void construct(T* p, const Args& ... args)
+    void construct(T* p, const Args& ... args) noexcept(noexcept(::new (static_cast<void*>(p)) T(args...)))
     {
         // force copy even if move is available
         ::new (static_cast<void*>(p)) T(args...);