From 9a0c3cdba09c9c0d2449564d3a26dd4062bb57f8 Mon Sep 17 00:00:00 2001 From: Bogdan Burlacu Date: Wed, 24 Apr 2024 12:17:14 +0200 Subject: [PATCH] make function visible to the linker --- include/operon/core/pset.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/operon/core/pset.hpp b/include/operon/core/pset.hpp index 6952c73..6cc98ce 100644 --- a/include/operon/core/pset.hpp +++ b/include/operon/core/pset.hpp @@ -20,7 +20,7 @@ class PrimitiveSet { Operon::Map pset_; - [[nodiscard]] auto GetPrimitive(Operon::Hash hash) const -> Primitive const&; + [[nodiscard]] auto OPERON_EXPORT GetPrimitive(Operon::Hash hash) const -> Primitive const&; auto GetPrimitive(Operon::Hash hash) -> Primitive& { return const_cast(const_cast(this)->GetPrimitive(hash)); // NOLINT