mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-29 16:40:39 +08:00
fix compilation error
This commit is contained in:
+2
-4
@@ -7,7 +7,7 @@ template<class Set, class F>
|
||||
void test_set(F &f)
|
||||
{
|
||||
Set s;
|
||||
Set::iterator it;
|
||||
typename Set::iterator it;
|
||||
for (int i=0; i<100; ++i)
|
||||
s.insert(f(i));
|
||||
|
||||
@@ -21,7 +21,7 @@ void test_set(F &f)
|
||||
it = s.begin();
|
||||
}
|
||||
|
||||
int main(int argc, char ** argv)
|
||||
int main(int, char **)
|
||||
{
|
||||
using namespace std;
|
||||
|
||||
@@ -54,6 +54,4 @@ int main(int argc, char ** argv)
|
||||
|
||||
test_set<phmap::parallel_node_hash_map<int, int>>(make_2int);
|
||||
test_set<phmap::parallel_node_hash_map<string, string>>(make_2string);
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user