From e0a35b011aed512c1975c9717c08a68de97dc84a Mon Sep 17 00:00:00 2001 From: "Maarten P. Scholl" Date: Sun, 24 Oct 2021 15:16:20 +0200 Subject: [PATCH] make sure to only instantiate boost python classes when Python is turned on --- esl/simulation/identity.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esl/simulation/identity.hpp b/esl/simulation/identity.hpp index dadbaab..0161a6d 100644 --- a/esl/simulation/identity.hpp +++ b/esl/simulation/identity.hpp @@ -360,9 +360,9 @@ namespace esl { { static_assert( std::is_base_of::value -//#ifdef WITH_PYTON +#ifdef WITH_PYTON || std::is_base_of::value -//#endif +#endif , "can not cast identifier, please verify that this " "conversion is allowed");