diff --git a/src/AggregateFunctions/AggregateFunctionUniqCombined.cpp b/src/AggregateFunctions/AggregateFunctionUniqCombined.cpp index 3c1c916e377..ff3b463e906 100644 --- a/src/AggregateFunctions/AggregateFunctionUniqCombined.cpp +++ b/src/AggregateFunctions/AggregateFunctionUniqCombined.cpp @@ -143,7 +143,6 @@ namespace void registerAggregateFunctionUniqCombined(AggregateFunctionFactory & factory) { - using namespace std::placeholders; factory.registerFunction("uniqCombined", [](const std::string & name, const DataTypes & argument_types, const Array & parameters, const Settings *) { diff --git a/src/Client/ReplxxLineReader.cpp b/src/Client/ReplxxLineReader.cpp index 49f44e3d0f9..681d06ce583 100644 --- a/src/Client/ReplxxLineReader.cpp +++ b/src/Client/ReplxxLineReader.cpp @@ -293,7 +293,6 @@ ReplxxLineReader::ReplxxLineReader( , word_break_characters(word_break_characters_) , editor(getEditor()) { - using namespace std::placeholders; using Replxx = replxx::Replxx; if (!history_file_path.empty()) diff --git a/src/Dictionaries/HashedArrayDictionary.cpp b/src/Dictionaries/HashedArrayDictionary.cpp index 68c347af9df..21016025d96 100644 --- a/src/Dictionaries/HashedArrayDictionary.cpp +++ b/src/Dictionaries/HashedArrayDictionary.cpp @@ -900,8 +900,6 @@ void registerDictionaryArrayHashed(DictionaryFactory & factory) return std::make_unique>(dict_id, dict_struct, std::move(source_ptr), configuration); }; - using namespace std::placeholders; - factory.registerLayout("hashed_array", [=](auto && a, auto && b, auto && c, auto && d, DictionarySourcePtr e, ContextPtr global_context, bool /*created_from_ddl*/) { diff --git a/src/Dictionaries/HashedDictionary.cpp b/src/Dictionaries/HashedDictionary.cpp index 562857cd790..0556e2bb266 100644 --- a/src/Dictionaries/HashedDictionary.cpp +++ b/src/Dictionaries/HashedDictionary.cpp @@ -1246,8 +1246,6 @@ void registerDictionaryHashed(DictionaryFactory & factory) } }; - using namespace std::placeholders; - factory.registerLayout("hashed", [=](auto && a, auto && b, auto && c, auto && d, DictionarySourcePtr e, ContextPtr global_context, bool /*created_from_ddl*/){ return create_layout(a, b, c, d, std::move(e), global_context, DictionaryKeyType::Simple, /* sparse = */ false); }, false); factory.registerLayout("sparse_hashed",