From dfef871f97ba7e36014434df5a150f5ed44a39b2 Mon Sep 17 00:00:00 2001 From: groot Date: Wed, 5 Jun 2019 15:41:35 +0800 Subject: [PATCH] rename Former-commit-id: 0db9006f7f17adcc933984f9b471a9173cd5b97e --- cpp/src/db/scheduler/IndexLoaderQueue.cpp | 4 ++-- cpp/src/db/scheduler/SearchTaskQueue.inl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cpp/src/db/scheduler/IndexLoaderQueue.cpp b/cpp/src/db/scheduler/IndexLoaderQueue.cpp index 7f748a65a9..2840e6564e 100644 --- a/cpp/src/db/scheduler/IndexLoaderQueue.cpp +++ b/cpp/src/db/scheduler/IndexLoaderQueue.cpp @@ -15,8 +15,8 @@ namespace engine { IndexLoaderQueue& IndexLoaderQueue::GetInstance() { - static IndexLoaderQueue s_instance; - return s_instance; + static IndexLoaderQueue instance; + return instance; } void diff --git a/cpp/src/db/scheduler/SearchTaskQueue.inl b/cpp/src/db/scheduler/SearchTaskQueue.inl index c9cbaf8a1b..7816ba8878 100644 --- a/cpp/src/db/scheduler/SearchTaskQueue.inl +++ b/cpp/src/db/scheduler/SearchTaskQueue.inl @@ -66,8 +66,8 @@ SearchTaskQueue::SearchTaskQueue() { SearchTaskQueue& SearchTaskQueue::GetInstance() { - static SearchTaskQueue s_instance; - return s_instance; + static SearchTaskQueue instance; + return instance; } template