Added explicit calls to fstream::close rather than relying on destructors as a tentative gcc-cygwin fix.

[SVN r21287]
This commit is contained in:
John Maddock
2003-12-16 13:05:22 +00:00
parent 7858e47a26
commit 2c3ff62e1b
12 changed files with 18 additions and 0 deletions

View File

@ -103,6 +103,7 @@ int main(int argc, const char** argv)
map_type m;
std::ifstream fs(argv[i]);
load_file(text, fs);
fs.close();
IndexClasses(m, text);
cout << m.size() << " matches found" << endl;
map_type::iterator c, d;