Fix Worker name conflict.

This commit is contained in:
Bartosz Taudul
2025-07-13 01:27:56 +02:00
parent 3d00f3eda1
commit c7c20730cf
2 changed files with 4 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ extern double s_time;
constexpr size_t InputBufferSize = 1024;
TracyLlm::TracyLlm( class Worker& worker )
TracyLlm::TracyLlm( Worker& worker )
: m_exit( false )
, m_input( nullptr )
{
@@ -51,7 +51,7 @@ TracyLlm::TracyLlm( class Worker& worker )
m_busy = true;
QueueConnect();
m_thread = std::thread( [this] { Worker(); } );
m_thread = std::thread( [this] { WorkerThread(); } );
}
TracyLlm::~TracyLlm()
@@ -560,7 +560,7 @@ void TracyLlm::Draw()
ImGui::End();
}
void TracyLlm::Worker()
void TracyLlm::WorkerThread()
{
std::unique_lock lock( m_lock );
while( !m_exit.load( std::memory_order_acquire ) )

View File

@@ -51,7 +51,7 @@ public:
bool m_show = false;
private:
void Worker();
void WorkerThread();
void UpdateModels();
void ResetChat();