feat: use comment macro everywhere

This commit is contained in:
ToruNiina
2021-04-16 15:29:24 +09:00
parent d90c26f9ac
commit c40e0dbd37
3 changed files with 10 additions and 9 deletions

View File

@@ -1739,7 +1739,8 @@ class basic_value
};
// default toml::value and default array/table.
using value = basic_value<discard_comments, std::unordered_map, std::vector>;
// TOML11_DEFAULT_COMMENT_STRATEGY is defined in comments.hpp
using value = basic_value<TOML11_DEFAULT_COMMENT_STRATEGY, std::unordered_map, std::vector>;
using array = typename value::array_type;
using table = typename value::table_type;