Fix error macro issues.

This commit is contained in:
Relintai 2023-12-19 18:54:08 +01:00
parent c7c9241b8c
commit d02bf3d38d

View File

@ -22,47 +22,47 @@
// template methods for the variadic log macros. Add more as needed. // template methods for the variadic log macros. Add more as needed.
template <class STR, class A> template <class STR, class A>
_FORCE_INLINE_ void _RLOG_MACRO_TEMPLATE_FUNC(STR str, A p0) { _FORCE_INLINE_ void _RLOG_MACRO_TEMPLATE_FUNC(STR str, A p0) {
str->append(p0); str->operator+=(p0);
} }
template <class STR, class A, class B> template <class STR, class A, class B>
_FORCE_INLINE_ void _RLOG_MACRO_TEMPLATE_FUNC(STR str, A p0, B p1) { _FORCE_INLINE_ void _RLOG_MACRO_TEMPLATE_FUNC(STR str, A p0, B p1) {
str->append(p0); str->operator+=(p0);
str->push_back(' '); str->operator+=(' ');
str->append(p1); str->operator+=(p1);
} }
template <class STR, class A, class B, class C> template <class STR, class A, class B, class C>
_FORCE_INLINE_ void _RLOG_MACRO_TEMPLATE_FUNC(STR str, A p0, B p1, C p2) { _FORCE_INLINE_ void _RLOG_MACRO_TEMPLATE_FUNC(STR str, A p0, B p1, C p2) {
str->append(p0); str->operator+=(p0);
str->push_back(' '); str->operator+=(' ');
str->append(p1); str->operator+=(p1);
str->push_back(' '); str->operator+=(' ');
str->append(p2); str->operator+=(p2);
} }
template <class STR, class A, class B, class C, class D> template <class STR, class A, class B, class C, class D>
_FORCE_INLINE_ void _RLOG_MACRO_TEMPLATE_FUNC(STR str, A p0, B p1, C p2, D p3) { _FORCE_INLINE_ void _RLOG_MACRO_TEMPLATE_FUNC(STR str, A p0, B p1, C p2, D p3) {
str->append(p0); str->operator+=(p0);
str->push_back(' '); str->operator+=(' ');
str->append(p1); str->operator+=(p1);
str->push_back(' '); str->operator+=(' ');
str->append(p2); str->operator+=(p2);
str->push_back(' '); str->operator+=(' ');
str->append(p3); str->operator+=(p3);
} }
template <class STR, class A, class B, class C, class D, class E> template <class STR, class A, class B, class C, class D, class E>
_FORCE_INLINE_ void _RLOG_MACRO_TEMPLATE_FUNC(STR str, A p0, B p1, C p2, D p3, E p4) { _FORCE_INLINE_ void _RLOG_MACRO_TEMPLATE_FUNC(STR str, A p0, B p1, C p2, D p3, E p4) {
str->append(p0); str->operator+=(p0);
str->push_back(' '); str->operator+=(' ');
str->append(p1); str->operator+=(p1);
str->push_back(' '); str->operator+=(' ');
str->append(p2); str->operator+=(p2);
str->push_back(' '); str->operator+=(' ');
str->append(p3); str->operator+=(p3);
str->push_back(' '); str->operator+=(' ');
str->append(p4); str->operator+=(p4);
} }
#define PRINT_TRACE(str) \ #define PRINT_TRACE(str) \