12 lines
298 B
Diff
12 lines
298 B
Diff
--- a/src/hash.cpp 2015-10-09 12:01:04.628050936 +0200
|
|
+++ b/src/hash.cpp 2015-10-09 12:02:04.248055234 +0200
|
|
@@ -58,7 +58,7 @@
|
|
Hash::Hash(int bs){
|
|
int i;
|
|
nbuckets=bs;
|
|
- lbuckets=new (List *)[nbuckets];
|
|
+ lbuckets=new List* [nbuckets];
|
|
|
|
for (i=0;i<nbuckets;i++)
|
|
lbuckets[i]=new List();
|