Compare commits

..

1 Commits

Author SHA1 Message Date
Nekotekina 05c44fcd18 Move throw out of include headers 2026-02-12 21:34:06 +01:00
+3 -3
View File
@@ -14,9 +14,7 @@
#include <type_traits>
namespace YAML {
[[noreturn]] extern void throw_bad_subscript(const YAML::Mark& mark);
[[noreturn]] extern void throw_bad_insert();
[[noreturn]] void throw_bad_subscript(const YAML::Mark& mark);
namespace detail {
template <typename Key, typename Enable = void>
struct get_idx {
@@ -203,6 +201,8 @@ inline bool node_data::remove(const Key& key, shared_memory_holder pMemory) {
return false;
}
[[nodiscard]] void throw_bad_insert();
// map
template <typename Key, typename Value>
inline void node_data::force_insert(const Key& key, const Value& value,