Enforce template syntax typename over class
This commit is contained in:
parent
aef11a1427
commit
9903e6779b
101 changed files with 538 additions and 538 deletions
|
|
@ -43,7 +43,7 @@
|
|||
/* CharProxy */
|
||||
/*************************************************************************/
|
||||
|
||||
template <class T>
|
||||
template <typename T>
|
||||
class CharProxy {
|
||||
friend class Char16String;
|
||||
friend class CharString;
|
||||
|
|
@ -602,13 +602,13 @@ _FORCE_INLINE_ void sarray_add_str(Vector<String> &arr, const String &p_str) {
|
|||
arr.push_back(p_str);
|
||||
}
|
||||
|
||||
template <class... P>
|
||||
template <typename... P>
|
||||
_FORCE_INLINE_ void sarray_add_str(Vector<String> &arr, const String &p_str, P... p_args) {
|
||||
arr.push_back(p_str);
|
||||
sarray_add_str(arr, p_args...);
|
||||
}
|
||||
|
||||
template <class... P>
|
||||
template <typename... P>
|
||||
_FORCE_INLINE_ Vector<String> sarray(P... p_args) {
|
||||
Vector<String> arr;
|
||||
sarray_add_str(arr, p_args...);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue