mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-22 14:44:34 +00:00
Static initialization order test.
This commit is contained in:
parent
a15a287a6b
commit
c4ea13dab5
@ -6,6 +6,17 @@
|
||||
#include "../Tracy.hpp"
|
||||
#include "../common/TracySystem.hpp"
|
||||
|
||||
struct static_init_test_t
|
||||
{
|
||||
static_init_test_t()
|
||||
{
|
||||
ZoneScoped;
|
||||
new char[64*1024];
|
||||
}
|
||||
};
|
||||
|
||||
static const static_init_test_t static_init_test;
|
||||
|
||||
void* operator new( std::size_t count )
|
||||
{
|
||||
auto ptr = malloc( count );
|
||||
|
Loading…
Reference in New Issue
Block a user