Skip to content
Snippets Groups Projects
  1. Jun 05, 2020
  2. Apr 29, 2020
  3. Apr 26, 2020
  4. Apr 23, 2020
  5. Aug 27, 2019
  6. Apr 20, 2019
    • T.Hideshima's avatar
      [debug] use istream::peek() != EOF to check eof of option-file · 61b13484
      T.Hideshima authored
      Because std::istream::operator bool() returns false AFTER FAILING get(),
      the function `importOptions` read the final character TWICE.
      Giving empty file for `--options=...` told me this error.
      
      In this commit, `std::istream::peek()` is used instead. This member
      function returns the next character without proceeding the file pointer,
      which you can compare to EOF without any side-effects.
      61b13484
  7. Jul 31, 2016
  8. Jun 08, 2016
  9. Apr 25, 2016
  10. Mar 21, 2016
  11. Feb 09, 2016
  12. Aug 09, 2015
  13. Jul 18, 2015
  14. Jul 17, 2015
Loading