lobstr-code icon indicating copy to clipboard operation
lobstr-code copied to clipboard

Fixed implementation of fexists.

Open gbrsales opened this issue 7 years ago • 0 comments

g++ 6.2.0 (Ubuntu Yakkety) rejects the current implementation with the following message:

cannot convert 'std::ifstream {aka std::basic_ifstream<char>}' to 'bool' in return

An explicit call to the good() method of ifstream takes care of the problem.

gbrsales avatar Jul 12 '17 17:07 gbrsales