commit | 9e25bf0136d085b1a825afeed308f2f364110c61 | [log] [tgz] |
---|---|---|
author | Biswapriyo Nath <nathbappai@gmail.com> | Fri Oct 21 10:26:01 2022 +0530 |
committer | Biswapriyo Nath <nathbappai@gmail.com> | Fri Oct 21 10:26:08 2022 +0530 |
tree | 1dbbe8b4f83f07a6d565979ac7894242b3c9f62b | |
parent | 7014fa9fa31412e6241a8dd47bce62a2ca55af68 [diff] |
libutils: Include limits for std::numeric_limits::max This fixes the following error: core/libutils/String8.cpp:316:67: error: incomplete type 'std::numeric_limits<long long unsigned int>' used in nested name specifier 316 | if (static_cast<size_t>(n) > std::numeric_limits<size_t>::max() - 1 || | ^~~ Change-Id: I80cdd2442e2798c37e066e3fdeee7dd5ac34b669