File tree 1 file changed +3
-4
lines changed 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 12
12
#include < tao/pq/binary.hpp>
13
13
#include < tao/pq/internal/from_chars.hpp>
14
14
#include < tao/pq/internal/resize_uninitialized.hpp>
15
- #include < tao/pq/internal/strtox.hpp>
16
15
17
16
namespace tao ::pq
18
17
{
@@ -128,17 +127,17 @@ namespace tao::pq
128
127
129
128
auto result_traits< float >::from( const char * value ) -> float
130
129
{
131
- return internal::strtof ( value );
130
+ return internal::from_chars< float > ( value );
132
131
}
133
132
134
133
auto result_traits< double >::from( const char * value ) -> double
135
134
{
136
- return internal::strtod ( value );
135
+ return internal::from_chars< double > ( value );
137
136
}
138
137
139
138
auto result_traits< long double >::from( const char * value ) -> long double
140
139
{
141
- return internal::strtold ( value );
140
+ return internal::from_chars< long double > ( value );
142
141
}
143
142
144
143
auto result_traits< binary >::from( const char * value ) -> binary
You can’t perform that action at this time.
0 commit comments