From a6d13763a6728d218f4b0eba4a4efdddab801fce Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Fri, 10 Mar 2023 15:34:50 -0500 Subject: [PATCH] replaced concept check no op with alternate that doesn't cause a segfault --- gtsam/base/concepts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/base/concepts.h b/gtsam/base/concepts.h index f951329a7..c9f76ca9f 100644 --- a/gtsam/base/concepts.h +++ b/gtsam/base/concepts.h @@ -19,7 +19,7 @@ // This does something sensible: #define BOOST_CONCEPT_USAGE(concept) void check##concept() // These just ignore the concept checking for now: -#define GTSAM_CONCEPT_ASSERT(concept) void*(concept) +#define GTSAM_CONCEPT_ASSERT(concept) static_assert(true, "") #define GTSAM_CONCEPT_REQUIRES(concept, return_type) return_type #endif