mirror of
https://github.com/transmission/transmission.git
synced 2026-02-14 23:19:34 +00:00
chore: remove outdated comment in tr_num_parse (#8140)
This commit is contained in:
@@ -830,9 +830,6 @@ template<typename T, std::enable_if_t<std::is_integral_v<T>, bool>>
|
||||
auto val = T{};
|
||||
auto const* const begin_ch = std::data(str);
|
||||
auto const* const end_ch = begin_ch + std::size(str);
|
||||
/* The base parameter works for any base from 2 to 36 (inclusive).
|
||||
This is different from the behaviour of the stringstream
|
||||
based solution above. */
|
||||
auto const result = std::from_chars(begin_ch, end_ch, val, base);
|
||||
if (result.ec != std::errc{})
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user