Update 2021 sources to pass clang-tidy

This commit is contained in:
2021-12-02 07:31:53 +00:00
parent 87d9b62240
commit 7ab7ecb00a
4 changed files with 16 additions and 15 deletions

View File

@@ -7,9 +7,9 @@
#include <limits>
#include <string>
int main(void)
auto main() -> int
{
unsigned long prev{std::numeric_limits<unsigned long>::max()};
auto prev{std::numeric_limits<std::uint64_t>::max()};
unsigned incrs{0};
std::string line;
while (std::getline(std::cin, line)) {