Move ImageEntry to header in prevision of sharing it with other CPP files in the future

This commit is contained in:
Clément Grégoire
2025-10-11 13:45:22 +02:00
parent 027bc04279
commit 9665f7ac42
2 changed files with 12 additions and 6 deletions

View File

@@ -124,12 +124,6 @@ namespace tracy
class ImageCache
{
public:
struct ImageEntry
{
void* m_startAddress = nullptr;
void* m_endAddress = nullptr;
char* m_name = nullptr;
};
ImageCache()
: m_images( 512 )

View File

@@ -5,6 +5,18 @@
#include "../common/TracyForceInline.hpp"
#include "TracyCallstack.h"
namespace tracy
{
struct ImageEntry
{
void* m_startAddress = nullptr;
void* m_endAddress = nullptr;
char* m_name = nullptr;
};
}
#ifndef TRACY_HAS_CALLSTACK
namespace tracy