mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-21 05:38:24 -05:00
Merge topic 'invalid_alias'
a54d96b722 cmAlgorithms: Fix -Wnon-c-typedef-for-linkage warnings
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4438
This commit is contained in:
@@ -139,7 +139,7 @@ template <typename ForwardIterator>
|
||||
ForwardIterator cmRemoveDuplicates(ForwardIterator first, ForwardIterator last)
|
||||
{
|
||||
using Value = typename std::iterator_traits<ForwardIterator>::value_type;
|
||||
using Hash = struct
|
||||
struct Hash
|
||||
{
|
||||
std::size_t operator()(ForwardIterator it) const
|
||||
{
|
||||
@@ -147,7 +147,7 @@ ForwardIterator cmRemoveDuplicates(ForwardIterator first, ForwardIterator last)
|
||||
}
|
||||
};
|
||||
|
||||
using Equal = struct
|
||||
struct Equal
|
||||
{
|
||||
bool operator()(ForwardIterator it1, ForwardIterator it2) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user