diff options
author | rtk0c <[email protected]> | 2022-06-28 12:17:48 -0700 |
---|---|---|
committer | rtk0c <[email protected]> | 2022-06-28 12:17:48 -0700 |
commit | 6839736b8283a59eb743e1f6058c7d266a3e7f36 (patch) | |
tree | c9fafde01740753a93c3bf3830faa790b88b001c /source/10-common/RapidJsonHelper.hpp | |
parent | 8a244363c9171946aa6e4552ce0dcfc8edf761cb (diff) |
Changeset: 78 Replace "class" keyword in templates with "typename"
Diffstat (limited to 'source/10-common/RapidJsonHelper.hpp')
-rw-r--r-- | source/10-common/RapidJsonHelper.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/10-common/RapidJsonHelper.hpp b/source/10-common/RapidJsonHelper.hpp index 75cd93a..008c6bb 100644 --- a/source/10-common/RapidJsonHelper.hpp +++ b/source/10-common/RapidJsonHelper.hpp @@ -75,7 +75,7 @@ inline GenericStringRef<char> StringRef(std::string_view str) { str.size()); } -template <class TIter, class TSentienl> +template <typename TIter, typename TSentienl> rapidjson::Value WriteVectorPrimitives(rapidjson::Document& root, TIter begin, TSentienl end) { using TElement = typename TIter::value_type; @@ -92,7 +92,7 @@ rapidjson::Value WriteVectorPrimitives(rapidjson::Document& root, TIter begin, T return list; } -template <class TContainer> +template <typename TContainer> bool ReadVectorPrimitives(const rapidjson::Value& value, TContainer& list) { using TElement = typename TContainer::value_type; |