Skip to content
Snippets Groups Projects
  1. Aug 23, 2018
  2. Aug 22, 2018
  3. Aug 20, 2018
  4. Aug 07, 2018
  5. Aug 06, 2018
  6. Aug 03, 2018
  7. Aug 01, 2018
  8. Jul 29, 2018
  9. Jul 21, 2018
    • Lioncash's avatar
      file_util: Use an enum class for GetUserPath() · d66b43da
      Lioncash authored
      Instead of using an unsigned int as a parameter and expecting a user to
      always pass in the correct values, we can just convert the enum into an
      enum class and use that type as the parameter type instead, which makes
      the interface more type safe.
      
      We also get rid of the bookkeeping "NUM_" element in the enum by just
      using an unordered map. This function is generally low-frequency in
      terms of calls (and I'd hope so, considering otherwise would mean we're
      slamming the disk with IO all the time) so I'd consider this acceptable
      in this case.
      d66b43da
  10. Jul 18, 2018
  11. Jul 03, 2018
  12. Jun 27, 2018
  13. May 10, 2018
  14. Mar 30, 2018
  15. Mar 27, 2018
  16. Feb 14, 2018
  17. Jan 20, 2018
  18. Jan 18, 2018
  19. Jan 17, 2018
  20. Jan 16, 2018
  21. Jan 15, 2018
Loading