Remove redundant from_string overload

This commit is contained in:
Tushar Maheshwari 2021-06-12 11:33:41 +05:30
parent b16884a774
commit 2e49ce59f4

View File

@ -513,14 +513,6 @@ namespace uuids
return uuid{ data };
}
template<class CharT = char,
class Traits = std::char_traits<CharT>,
class Allocator = std::allocator<CharT>>
static std::optional<uuid> from_string(std::basic_string<CharT, Traits, Allocator> const & str) noexcept
{
return from_string(str.c_str());
}
private:
std::array<value_type, 16> data{ { 0 } };