File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -531,24 +531,9 @@ class ClassDB {
531
531
532
532
#ifdef DEBUG_ENABLED
533
533
534
- _FORCE_INLINE_ void errarray_add_str (Vector<Error> &arr) {
535
- }
536
-
537
- _FORCE_INLINE_ void errarray_add_str (Vector<Error> &arr, const Error &p_err) {
538
- arr.push_back (p_err);
539
- }
540
-
541
- template <typename ... P>
542
- _FORCE_INLINE_ void errarray_add_str (Vector<Error> &arr, const Error &p_err, P... p_args) {
543
- arr.push_back (p_err);
544
- errarray_add_str (arr, p_args...);
545
- }
546
-
547
534
template <typename ... P>
548
535
_FORCE_INLINE_ Vector<Error> errarray (P... p_args) {
549
- Vector<Error> arr;
550
- errarray_add_str (arr, p_args...);
551
- return arr;
536
+ return Vector<Error>({ p_args... });
552
537
}
553
538
554
539
#define BIND_METHOD_ERR_RETURN_DOC (m_method, ...) \
You can’t perform that action at this time.
0 commit comments