mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 18:42:26 +00:00
Fix clang builds
This commit is contained in:
parent
0f730b2ace
commit
b0537bf31e
@ -141,7 +141,7 @@ template <typename Name>
|
||||
class FunctionStartsEndsWith : public TargetSpecific::Default::FunctionStartsEndsWith<Name>
|
||||
{
|
||||
public:
|
||||
FunctionStartsEndsWith(const Context & context) : selector(context)
|
||||
explicit FunctionStartsEndsWith(const Context & context) : selector(context)
|
||||
{
|
||||
selector.registerImplementation<TargetArch::Default,
|
||||
TargetSpecific::Default::FunctionStartsEndsWith<Name>>();
|
||||
|
@ -655,7 +655,7 @@ template <typename Impl, typename Name>
|
||||
class FunctionIntHash : public TargetSpecific::Default::FunctionIntHash<Impl, Name>
|
||||
{
|
||||
public:
|
||||
FunctionIntHash(const Context & context) : selector(context)
|
||||
explicit FunctionIntHash(const Context & context) : selector(context)
|
||||
{
|
||||
selector.registerImplementation<TargetArch::Default,
|
||||
TargetSpecific::Default::FunctionIntHash<Impl, Name>>();
|
||||
@ -981,7 +981,7 @@ template <typename Impl>
|
||||
class FunctionAnyHash : public TargetSpecific::Default::FunctionAnyHash<Impl>
|
||||
{
|
||||
public:
|
||||
FunctionAnyHash(const Context & context) : selector(context)
|
||||
explicit FunctionAnyHash(const Context & context) : selector(context)
|
||||
{
|
||||
selector.registerImplementation<TargetArch::Default,
|
||||
TargetSpecific::Default::FunctionAnyHash<Impl>>();
|
||||
|
@ -4,7 +4,9 @@
|
||||
#include <Common/HashTable/Hash.h>
|
||||
#include <Common/randomSeed.h>
|
||||
#include <common/unaligned.h>
|
||||
#include <x86intrin.h>
|
||||
#if USE_MULTITARGET_CODE
|
||||
# include <x86intrin.h>
|
||||
#endif
|
||||
|
||||
namespace DB
|
||||
{
|
||||
|
@ -91,7 +91,7 @@ template <typename ToType, typename Name>
|
||||
class FunctionRandom : public FunctionRandomImpl<TargetSpecific::Default::RandImpl, ToType, Name>
|
||||
{
|
||||
public:
|
||||
FunctionRandom(const Context & context) : selector(context)
|
||||
explicit FunctionRandom(const Context & context) : selector(context)
|
||||
{
|
||||
selector.registerImplementation<TargetArch::Default,
|
||||
FunctionRandomImpl<TargetSpecific::Default::RandImpl, ToType, Name>>();
|
||||
|
@ -35,7 +35,7 @@ template <typename ToType, typename Name>
|
||||
class FunctionRandomXorshift : public FunctionRandomImpl<TargetSpecific::Default::RandXorshiftImpl, ToType, Name>
|
||||
{
|
||||
public:
|
||||
FunctionRandomXorshift(const Context & context) : selector(context)
|
||||
explicit FunctionRandomXorshift(const Context & context) : selector(context)
|
||||
{
|
||||
selector.registerImplementation<TargetArch::Default,
|
||||
FunctionRandomImpl<TargetSpecific::Default::RandXorshiftImpl, ToType, Name>>();
|
||||
|
@ -61,7 +61,7 @@ public:
|
||||
class FunctionGenerateUUIDv4 : public TargetSpecific::Default::FunctionGenerateUUIDv4
|
||||
{
|
||||
public:
|
||||
FunctionGenerateUUIDv4(const Context & context) : selector(context)
|
||||
explicit FunctionGenerateUUIDv4(const Context & context) : selector(context)
|
||||
{
|
||||
selector.registerImplementation<TargetArch::Default,
|
||||
TargetSpecific::Default::FunctionGenerateUUIDv4>();
|
||||
|
Loading…
Reference in New Issue
Block a user