mirror of
https://github.com/Relintai/sfw.git
synced 2024-11-08 07:52:09 +01:00
Fix error macro issues.
This commit is contained in:
parent
c7c9241b8c
commit
d02bf3d38d
@ -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) \
|
||||||
|
Loading…
Reference in New Issue
Block a user