Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
henryzhx8 committed Dec 30, 2024
1 parent b216e85 commit 4aa1c7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/plugin/flusher/sls/SLSClientManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ SLSClientManager* SLSClientManager::GetInstance() {
#ifdef __ENTERPRISE__
return EnterpriseSLSClientManager::GetInstance();
#else
static auto ptr = unique_ptr<SLSClientManager>(new SLSClientManager());
return ptr.get();
static SLSClientManager instance;
return &instance;
#endif
}

Expand Down

0 comments on commit 4aa1c7d

Please sign in to comment.