From 029005be7c13e00d2ad41ecd16869e094810de84 Mon Sep 17 00:00:00 2001 From: Alexander Kuzmenkov Date: Thu, 4 Jun 2020 17:26:16 +0300 Subject: [PATCH] clang-tidy --- .../tests/gtest_transform_query_for_external_database.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Storages/tests/gtest_transform_query_for_external_database.cpp b/src/Storages/tests/gtest_transform_query_for_external_database.cpp index 62d2800c797..318d667d9b0 100644 --- a/src/Storages/tests/gtest_transform_query_for_external_database.cpp +++ b/src/Storages/tests/gtest_transform_query_for_external_database.cpp @@ -18,6 +18,8 @@ using namespace DB; /// NOTE How to do better? struct State { + State(const State&) = delete; + Context context; NamesAndTypesList columns{ {"column", std::make_shared()}, @@ -43,8 +45,6 @@ private: DatabaseCatalog::instance().attachDatabase("test", database); context.setCurrentDatabase("test"); } - - State(const State&) = delete; };