diff --git a/include/caliper/AsyncEvent.h b/include/caliper/AsyncEvent.h index d7b68bed..494351cb 100644 --- a/include/caliper/AsyncEvent.h +++ b/include/caliper/AsyncEvent.h @@ -27,7 +27,11 @@ class TimedAsyncEvent public: +#if __cplusplus >= 201402L constexpr TimedAsyncEvent() : end_tree_node_ { nullptr } { } +#else + TimedAsyncEvent() : end_tree_node_ { nullptr } { } +#endif void end();