From 658e613902136956aef4056651af1daf32490e6f Mon Sep 17 00:00:00 2001 From: James Moore Date: Sat, 11 Jan 2020 12:26:29 +0000 Subject: [PATCH] Fix unused_func warning. Function was declared but not defined --- test/src/unit-noexcept.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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{}), "");