Patrick Brosi 4 years ago
parent
commit
a18a22aa6f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/osmfixer/FixerMain.cpp

+ 1 - 1
src/osmfixer/FixerMain.cpp

@@ -26,7 +26,7 @@ int main(int argc, char** argv) {
26
     exit(1);
26
     exit(1);
27
   }
27
   }
28
 
28
 
29
-  std::vector<StatIdx> idx(argc);
29
+  std::vector<StatIdx> idx(argc - 1);
30
   for(int i = 1; i < argc; i++) {
30
   for(int i = 1; i < argc; i++) {
31
     idx[i-1].readFromFile(argv[i]);
31
     idx[i-1].readFromFile(argv[i]);
32
   }
32
   }