mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
dbms: fixed build [#METR-2944].
This commit is contained in:
parent
2017ee72c9
commit
597f2eb737
@ -46,7 +46,7 @@ public:
|
||||
};
|
||||
|
||||
|
||||
struct TrivialHash
|
||||
struct SimpleHash
|
||||
{
|
||||
size_t operator() (UInt64 x) const { return x; }
|
||||
size_t operator() (StringRef x) const { return DB::parse<UInt64>(x.data); }
|
||||
@ -65,7 +65,7 @@ int main(int argc, char ** argv)
|
||||
typedef HashMapWithDump<
|
||||
StringRef,
|
||||
UInt64,
|
||||
TrivialHash,
|
||||
SimpleHash,
|
||||
Grower,
|
||||
HashTableAllocatorWithStackMemory<4 * 24> > Map;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user