16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 19:19:19 +02:00

Replace count_trailing_zeros with std::countr_zero

This commit is contained in:
docentYT
2026-05-01 17:43:43 +02:00
parent ec1dfae953
commit 0e6950a386
3 changed files with 3 additions and 15 deletions

View File

@@ -380,8 +380,6 @@ glm::dvec3 LoadPoint(class cParser &Input);
// extracts a group of tokens from provided data stream
std::string deserialize_random_set(cParser &Input, char const *Break = "\n\r\t ;");
int count_trailing_zeros(uint32_t val);
// extracts a group of <key, value> pairs from provided data stream
// NOTE: expects no more than single pair per line
template <typename MapType_> void deserialize_map(MapType_ &Map, cParser &Input)