From 44621a61249893b0912b9664ad892c98643a7f48 Mon Sep 17 00:00:00 2001 From: Davis King Date: Sun, 14 Nov 2021 21:28:00 -0500 Subject: [PATCH] fix build error --- dlib/test/invoke.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlib/test/invoke.cpp b/dlib/test/invoke.cpp index a23b6dd15..02c36f030 100644 --- a/dlib/test/invoke.cpp +++ b/dlib/test/invoke.cpp @@ -323,8 +323,8 @@ namespace static_assert(dlib::invoke(multiply_ints, 2, 5) == 10, "this should be constexpr"); static_assert(dlib::invoke_r(multiply_ints, 2, 5) == 10, "this should be constexpr"); constexpr constexpr_object constexpr_obj; - static_assert(dlib::invoke(&constexpr_object::multiply_ints, constexpr_obj, 2, 5) == 10); - static_assert(dlib::invoke_r(&constexpr_object::multiply_ints, constexpr_obj, 2, 5) == 10); + static_assert(dlib::invoke(&constexpr_object::multiply_ints, constexpr_obj, 2, 5) == 10, "this should be constexpr"); + static_assert(dlib::invoke_r(&constexpr_object::multiply_ints, constexpr_obj, 2, 5) == 10, "this should be constexpr"); } // ----------------------------------------------------------------------------------------