Skip to content

Commit

Permalink
f 9
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf committed Apr 22, 2024
1 parent 9d6dc17 commit 37062a0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/utils/charconv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@
namespace
{
template<typename T>
T string_to_floating_point(const char* str, char** str_end)
{
static_assert(sizeof(T) == 1, "Only specializations can be used");;
return 0;
}
T string_to_floating_point(const char* str, char** str_end) = delete;
template<>
float string_to_floating_point(const char* str, char** str_end)
{
Expand Down

0 comments on commit 37062a0

Please sign in to comment.