1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-27 01:57:52 +00:00
Commit graph

2 commits

Author SHA1 Message Date
Dmytro Lytovchenko
d34bd0b4d6
refactor: modernize cache.cc (#3108)
* Modernize cache.cc: Convert tr_cache to a class

* Modernize cache.cc: Replaced ptrArray with vector

* refactor: Cache now takes a tr_torrents reference

* refactor: add Key type to Cache

* refactor: avoid std::back_inserter

* refactor: add Cache::flushOldest()
2022-06-11 19:46:30 -05:00
Antoine Cœur
7ab2fbfbd6
Adopting .clang-format-include and .clang-format-ignore (#3047) 2022-05-13 18:48:33 -05:00