mirror of
https://github.com/RPCS3/yaml-cpp.git
synced 2026-07-25 20:55:22 -04:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 51a5d623e3 |
@@ -14,7 +14,9 @@
|
|||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
namespace YAML {
|
namespace YAML {
|
||||||
[[noreturn]] void throw_bad_subscript(const YAML::Mark& mark);
|
[[noreturn]] extern void throw_bad_subscript(const YAML::Mark& mark);
|
||||||
|
[[noreturn]] extern void throw_bad_insert();
|
||||||
|
|
||||||
namespace detail {
|
namespace detail {
|
||||||
template <typename Key, typename Enable = void>
|
template <typename Key, typename Enable = void>
|
||||||
struct get_idx {
|
struct get_idx {
|
||||||
@@ -201,8 +203,6 @@ inline bool node_data::remove(const Key& key, shared_memory_holder pMemory) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
[[nodiscard]] void throw_bad_insert();
|
|
||||||
|
|
||||||
// map
|
// map
|
||||||
template <typename Key, typename Value>
|
template <typename Key, typename Value>
|
||||||
inline void node_data::force_insert(const Key& key, const Value& value,
|
inline void node_data::force_insert(const Key& key, const Value& value,
|
||||||
|
|||||||
Reference in New Issue
Block a user