From 82edcf3dfac57dcf29393c74ae54891671fc72a3 Mon Sep 17 00:00:00 2001 From: Markus FRANK <Markus.Frank@cern.ch> Date: Wed, 8 Apr 2020 20:52:07 +0200 Subject: [PATCH] Support for conditions with non-default ctor --- DDCore/include/DD4hep/detail/Grammar_unparsed.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DDCore/include/DD4hep/detail/Grammar_unparsed.h b/DDCore/include/DD4hep/detail/Grammar_unparsed.h index f7e305829..eca64cb92 100644 --- a/DDCore/include/DD4hep/detail/Grammar_unparsed.h +++ b/DDCore/include/DD4hep/detail/Grammar_unparsed.h @@ -45,7 +45,7 @@ namespace dd4hep { /// Standarsd constructor template <typename TYPE> const BasicGrammar& BasicGrammar::instance() { - static Grammar<TYPE> s_gr(); + static Grammar<TYPE> s_gr; return s_gr; } } -- GitLab