mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 18:53:28 +01:00
Cleanse LOG_CONSTINIT macro
Should be unnecessary.
This commit is contained in:
parent
0b8d5f7b98
commit
5c6f5a1610
@ -182,13 +182,7 @@ namespace logs
|
|||||||
void set_init(std::initializer_list<stored_message>);
|
void set_init(std::initializer_list<stored_message>);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if __cpp_constinit >= 201907
|
#define LOG_CHANNEL(ch, ...) inline constinit ::logs::channel ch(::logs::make_channel_name(#ch, ##__VA_ARGS__)); \
|
||||||
#define LOG_CONSTINIT constinit
|
|
||||||
#else
|
|
||||||
#define LOG_CONSTINIT
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define LOG_CHANNEL(ch, ...) LOG_CONSTINIT inline ::logs::channel ch(::logs::make_channel_name(#ch, ##__VA_ARGS__)); \
|
|
||||||
namespace logs { inline ::logs::registerer reg_##ch{ch}; }
|
namespace logs { inline ::logs::registerer reg_##ch{ch}; }
|
||||||
|
|
||||||
LOG_CHANNEL(rsx_log, "RSX");
|
LOG_CHANNEL(rsx_log, "RSX");
|
||||||
|
@ -68,6 +68,7 @@ namespace std
|
|||||||
|
|
||||||
#if defined(__INTELLISENSE__)
|
#if defined(__INTELLISENSE__)
|
||||||
#define consteval constexpr
|
#define consteval constexpr
|
||||||
|
#define constinit
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using schar = signed char;
|
using schar = signed char;
|
||||||
|
Loading…
Reference in New Issue
Block a user