forked from boostorg/regex
Added explicit calls to fstream::close rather than relying on destructors as a tentative gcc-cygwin fix.
[SVN r21287]
This commit is contained in:
@ -123,6 +123,7 @@ int main(int argc, const char** argv)
|
||||
cout << "Processing file " << argv[i] << endl;
|
||||
std::ifstream fs(argv[i]);
|
||||
load_file(text, fs);
|
||||
fs.close();
|
||||
class_index i;
|
||||
i.IndexClasses(text);
|
||||
cout << i.get_map().size() << " matches found" << endl;
|
||||
|
Reference in New Issue
Block a user