diff --git a/include/yaml-cpp/node/detail/node.h b/include/yaml-cpp/node/detail/node.h index b881c2c..acf60ff 100644 --- a/include/yaml-cpp/node/detail/node.h +++ b/include/yaml-cpp/node/detail/node.h @@ -169,7 +169,7 @@ class node { using nodes = std::set; nodes m_dependencies; size_t m_index; - static std::atomic m_amount; + static YAML_CPP_API std::atomic m_amount; }; } // namespace detail } // namespace YAML