Skip to content

Commit

Permalink
Please consider the following formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alibuild committed Jun 26, 2024
1 parent cf0ceef commit 76654aa
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Framework/Core/include/Framework/Variant.h
Original file line number Diff line number Diff line change
Expand Up @@ -374,15 +374,13 @@ class Variant
}

template <typename T>
void set(std::vector<T>& values)
requires(std::is_pod_v<T>)
void set(std::vector<T>& values) requires(std::is_pod_v<T>)
{
return variant_helper<T*>::set(&mStore, values.data(), values.size());
}

template <typename T>
void set(std::vector<T>& values)
requires(std::is_same_v<T, std::string>)
void set(std::vector<T>& values) requires(std::is_same_v<T, std::string>)
{
return variant_helper<T*>::set(&mStore, values);
}
Expand Down

0 comments on commit 76654aa

Please sign in to comment.