forked from loafle/openapi-generator-original
[C++][Pistache] Fix 'unused-parameter' warning on Helpers.h file (#19315)
This commit is contained in:
parent
8af3ff2828
commit
d55525fbc4
@ -84,10 +84,10 @@ namespace {{helpersNamespace}}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Determine if the given vector<T> only has unique elements. T must provide the == operator.
|
||||
/// Determine if the given set<T> only has unique elements.
|
||||
/// </summary>
|
||||
template <typename T>
|
||||
bool hasOnlyUniqueItems(const std::set<T>& set)
|
||||
bool hasOnlyUniqueItems(const std::set<T>&)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -94,10 +94,10 @@ namespace org::openapitools::server::helpers
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Determine if the given vector<T> only has unique elements. T must provide the == operator.
|
||||
/// Determine if the given set<T> only has unique elements.
|
||||
/// </summary>
|
||||
template <typename T>
|
||||
bool hasOnlyUniqueItems(const std::set<T>& set)
|
||||
bool hasOnlyUniqueItems(const std::set<T>&)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -94,10 +94,10 @@ namespace org::openapitools::server::helpers
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Determine if the given vector<T> only has unique elements. T must provide the == operator.
|
||||
/// Determine if the given set<T> only has unique elements.
|
||||
/// </summary>
|
||||
template <typename T>
|
||||
bool hasOnlyUniqueItems(const std::set<T>& set)
|
||||
bool hasOnlyUniqueItems(const std::set<T>&)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
@ -94,10 +94,10 @@ namespace org::openapitools::server::helpers
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Determine if the given vector<T> only has unique elements. T must provide the == operator.
|
||||
/// Determine if the given set<T> only has unique elements.
|
||||
/// </summary>
|
||||
template <typename T>
|
||||
bool hasOnlyUniqueItems(const std::set<T>& set)
|
||||
bool hasOnlyUniqueItems(const std::set<T>&)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user