diff --git a/test/src/unit-noexcept.cpp b/test/src/unit-noexcept.cpp index cf86e92d5..26b2d4819 100644 --- a/test/src/unit-noexcept.cpp +++ b/test/src/unit-noexcept.cpp @@ -42,10 +42,10 @@ enum test struct pod {}; struct pod_bis {}; -void to_json(json&, pod) noexcept; -void to_json(json&, pod_bis); -void from_json(const json&, pod) noexcept; -void from_json(const json&, pod_bis); +void to_json(json&, pod) noexcept{} +void to_json(json&, pod_bis){} +void from_json(const json&, pod) noexcept{} +void from_json(const json&, pod_bis){} static json j; static_assert(noexcept(json{}), "");