From 10a985ec066cbed999cb0ca1e28a67a4bb8f5360 Mon Sep 17 00:00:00 2001 From: Richard Barnes Date: Mon, 6 Nov 2023 08:02:11 -0800 Subject: [PATCH] Namespace doesn't need to be followed by semicolon Summary: Auto-generated with ``` fbgs "}; // namespace" -l | sort | uniq | sed 's/fbsource.//' | xargs -n 50 sed -i 's_}; // namespace_} // namespace_' ``` Reviewed By: dmm-fb Differential Revision: D51029740 fbshipit-source-id: 177e3f6e6b0ab7e986b1147952cd5e2f59d4b1fc --- flashlight/fl/common/threadpool/ThreadPool.h | 2 +- flashlight/fl/tensor/backend/af/mem/MemoryManagerAdapter.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flashlight/fl/common/threadpool/ThreadPool.h b/flashlight/fl/common/threadpool/ThreadPool.h index b653d97ab..29580c503 100644 --- a/flashlight/fl/common/threadpool/ThreadPool.h +++ b/flashlight/fl/common/threadpool/ThreadPool.h @@ -70,7 +70,7 @@ class ThreadPool { std::mutex queue_mutex; std::condition_variable condition; bool stop; -}; // namespace flclassThreadPool +} // namespace flclassThreadPool inline ThreadPool::ThreadPool( size_t threads, diff --git a/flashlight/fl/tensor/backend/af/mem/MemoryManagerAdapter.h b/flashlight/fl/tensor/backend/af/mem/MemoryManagerAdapter.h index bc0aa77ea..f322a7b38 100644 --- a/flashlight/fl/tensor/backend/af/mem/MemoryManagerAdapter.h +++ b/flashlight/fl/tensor/backend/af/mem/MemoryManagerAdapter.h @@ -183,4 +183,4 @@ void MemoryManagerAdapter::log(std::string fname, Values... vs) { } } -}; // namespace fl +} // namespace fl