File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
modules/openapi-generator/src/main/resources/cpp-pistache-server
cpp-pistache-everything/model
cpp-pistache-nested-schema-refs/model Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -84,10 +84,10 @@ namespace {{helpersNamespace}}
84
84
}
85
85
86
86
/// <summary >
87
- /// Determine if the given vector <T > only has unique elements. T must provide the == operator .
87
+ /// Determine if the given set <T > only has unique elements.
88
88
/// </summary >
89
89
template <typename T >
90
- bool hasOnlyUniqueItems(const std::set<T >& set )
90
+ bool hasOnlyUniqueItems(const std::set<T >& )
91
91
{
92
92
return true ;
93
93
}
Original file line number Diff line number Diff line change @@ -94,10 +94,10 @@ namespace org::openapitools::server::helpers
94
94
}
95
95
96
96
// / <summary>
97
- // / Determine if the given vector <T> only has unique elements. T must provide the == operator .
97
+ // / Determine if the given set <T> only has unique elements.
98
98
// / </summary>
99
99
template <typename T>
100
- bool hasOnlyUniqueItems (const std::set<T>& set )
100
+ bool hasOnlyUniqueItems (const std::set<T>&)
101
101
{
102
102
return true ;
103
103
}
Original file line number Diff line number Diff line change @@ -94,10 +94,10 @@ namespace org::openapitools::server::helpers
94
94
}
95
95
96
96
// / <summary>
97
- // / Determine if the given vector <T> only has unique elements. T must provide the == operator .
97
+ // / Determine if the given set <T> only has unique elements.
98
98
// / </summary>
99
99
template <typename T>
100
- bool hasOnlyUniqueItems (const std::set<T>& set )
100
+ bool hasOnlyUniqueItems (const std::set<T>&)
101
101
{
102
102
return true ;
103
103
}
Original file line number Diff line number Diff line change @@ -94,10 +94,10 @@ namespace org::openapitools::server::helpers
94
94
}
95
95
96
96
// / <summary>
97
- // / Determine if the given vector <T> only has unique elements. T must provide the == operator .
97
+ // / Determine if the given set <T> only has unique elements.
98
98
// / </summary>
99
99
template <typename T>
100
- bool hasOnlyUniqueItems (const std::set<T>& set )
100
+ bool hasOnlyUniqueItems (const std::set<T>&)
101
101
{
102
102
return true ;
103
103
}
You can’t perform that action at this time.
0 commit comments