From 13ab1caf952c7678862baf5e488d695ac7054501 Mon Sep 17 00:00:00 2001 From: "Maarten L. Hekkelman" Date: Mon, 22 Jan 2024 15:33:43 +0100 Subject: [PATCH] macOS... --- include/cif++/validate.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/cif++/validate.hpp b/include/cif++/validate.hpp index 54f9314..2cbd5fe 100644 --- a/include/cif++/validate.hpp +++ b/include/cif++/validate.hpp @@ -151,6 +151,16 @@ struct type_validator struct item_alias { + item_alias(const std::string &alias_name, const std::string &dictionary, const std::string &version) + : m_name(alias_name) + , m_dict(dictionary) + , m_vers(version) + { + } + + item_alias(const item_alias &) = default; + item_alias &operator=(const item_alias &) = default; + std::string m_name; ///< The alias_name std::string m_dict; ///< The dictionary in which it was known std::string m_vers; ///< The version of the dictionary