From 57645f432c790abbff807227ec81f5763329eabf Mon Sep 17 00:00:00 2001 From: wujianlin Date: Sat, 18 May 2024 10:25:09 +0800 Subject: [PATCH] Delete redundant empty lines Issue:https://gitee.com/openharmony/commonlibrary_c_utils/issues/I9QA6M?from=project-issue Signed-off-by: wujianlin --- base/include/safe_queue.h | 2 -- base/include/sorted_vector.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/base/include/safe_queue.h b/base/include/safe_queue.h index 6cbfab4..8ff5da9 100644 --- a/base/include/safe_queue.h +++ b/base/include/safe_queue.h @@ -109,7 +109,6 @@ protected: */ template class SafeQueue : public SafeQueueInner { - protected: using SafeQueueInner::deque_; using SafeQueueInner::mutex_; @@ -143,7 +142,6 @@ protected: */ template class SafeStack : public SafeQueueInner { - protected: using SafeQueueInner::deque_; using SafeQueueInner::mutex_; diff --git a/base/include/sorted_vector.h b/base/include/sorted_vector.h index 612f7a6..700f291 100644 --- a/base/include/sorted_vector.h +++ b/base/include/sorted_vector.h @@ -29,7 +29,6 @@ namespace OHOS { */ template class SortedVector { - public: using value_type = TYPE; using size_type = std::size_t; @@ -306,7 +305,6 @@ SortedVector::SortedVector(const SortedVector template SortedVector::SortedVector(const SortedVector& rhs) { - if (AllowDuplicate) { std::copy(rhs.Begin(), rhs.End(), std::back_inserter(vec_)); } else { -- Gitee