summaryrefslogtreecommitdiffstats
path: root/src/common/algorithm.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-04-23general: Convert source file copyright comments over to SPDXMorph1-3/+2
This formats all copyright comments according to SPDX formatting guidelines. Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
2020-08-15common: Make use of [[nodiscard]] where applicableLioncash1-1/+2
Now that clang-format makes [[nodiscard]] attributes format sensibly, we can apply them to several functions within the common library to allow the compiler to complain about any misuses of the functions.
2019-10-15common/algorithm: Add description comment indicating intended algorithmsLioncash1-0/+5
Makes it explicit that the header is intended for iterator-based algorithms that can ideally operate on any type.
2019-10-15common: Rename binary_find.h to algorithm.hLioncash1-0/+1
Makes the header more general for other potential algorithms in the future. While we're at it, include a missing <functional> include to satisfy the use of std::less.
2019-07-05texture_cache: Address FeedbackFernando Sahmkow1-0/+21