Former-commit-id: 0db9006f7f17adcc933984f9b471a9173cd5b97e
This commit is contained in:
groot 2019-06-05 15:41:35 +08:00
parent 326945efa7
commit dfef871f97
2 changed files with 4 additions and 4 deletions

View File

@ -15,8 +15,8 @@ namespace engine {
IndexLoaderQueue&
IndexLoaderQueue::GetInstance() {
static IndexLoaderQueue s_instance;
return s_instance;
static IndexLoaderQueue instance;
return instance;
}
void

View File

@ -66,8 +66,8 @@ SearchTaskQueue::SearchTaskQueue() {
SearchTaskQueue&
SearchTaskQueue::GetInstance() {
static SearchTaskQueue s_instance;
return s_instance;
static SearchTaskQueue instance;
return instance;
}
template<typename trait>