Skip to content

Commit

Permalink
redef with diff storage class in VS
Browse files Browse the repository at this point in the history
\yaml\src\node_data.cpp(16): error C2370: 'm_amount': redefinition; different storage class
\yaml\include\yaml-cpp/node/detail/node.h(172): note: see declaration of 'm_amount'
  • Loading branch information
Dan Dees committed Oct 25, 2021
1 parent 2f89975 commit 5f9e4c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/yaml-cpp/node/detail/node.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class node {
using nodes = std::set<node*, less>;
nodes m_dependencies;
size_t m_index;
static std::atomic<size_t> m_amount;
static YAML_CPP_API std::atomic<size_t> m_amount;
};
} // namespace detail
} // namespace YAML
Expand Down

0 comments on commit 5f9e4c0

Please sign in to comment.