From fb4845494f19b6c0dfde82f1ecb90d5fa8a879a7 Mon Sep 17 00:00:00 2001 From: "Paul P.H. Wilson" Date: Wed, 22 Mar 2023 00:37:21 -0400 Subject: [PATCH] add default empty consructor --- include/openmc/distribution.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/openmc/distribution.h b/include/openmc/distribution.h index 12a6f6f5c..03b046bbb 100644 --- a/include/openmc/distribution.h +++ b/include/openmc/distribution.h @@ -37,7 +37,8 @@ UPtrDist distribution_from_xml(pugi::xml_node node); class DiscreteIndex { public: - explicit DiscreteIndex(pugi::xml_node node); + DiscreteIndex() {}; + DiscreteIndex(pugi::xml_node node); DiscreteIndex(const double* p, int n); void assign(const double* p, int n);