working commit

This commit is contained in:
millb 2019-11-12 19:56:18 +03:00
parent 7bef7c259c
commit 7ed84fd464

View File

@ -718,7 +718,8 @@ private:
for (size_t i = 0; i < size; ++i)
{
String hex_string = vec_from[i].toHexString();
const ToType h = Impl::apply(reinterpret_cast<const char *>(&hex_string), 8);
std::cerr << "\n\n" << hex_string << "\n\n";
const ToType h = Impl::apply(reinterpret_cast<const char *>(&hex_string), 16);
if (first)
vec_to[i] = h;
else
@ -740,6 +741,8 @@ private:
size_t size = vec_from.size();
for (size_t i = 0; i < size; ++i)
{
const char * to = reinterpret_cast<const char *>(&vec_from[i]);
std::cerr << "\n\n" << to << "\n\n";
const ToType h = Impl::apply(reinterpret_cast<const char *>(&vec_from[i]), 16);
if (first)
vec_to[i] = h;