mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
Fix build in freebsd (#1129)
This commit is contained in:
parent
47705e21a5
commit
49ae03a4a7
@ -214,7 +214,7 @@ int main(int argc, char ** argv)
|
||||
<< std::endl;
|
||||
|
||||
size_t i = 0;
|
||||
for (RefsHashMap::const_iterator it = set.begin(); i < elems_show && it != set.end(); ++it, ++i)
|
||||
for (auto it = set.begin(); i < elems_show && it != set.end(); ++it, ++i)
|
||||
{
|
||||
devnull.write(it->first.data, it->first.size);
|
||||
devnull << std::endl;
|
||||
@ -241,7 +241,7 @@ int main(int argc, char ** argv)
|
||||
<< std::endl;
|
||||
|
||||
size_t i = 0;
|
||||
for (RefsHashMap::const_iterator it = set.begin(); i < elems_show && it != set.end(); ++it, ++i)
|
||||
for (auto it = set.begin(); i < elems_show && it != set.end(); ++it, ++i)
|
||||
{
|
||||
devnull.write(it->first.data, it->first.size);
|
||||
devnull << std::endl;
|
||||
|
Loading…
Reference in New Issue
Block a user