Use binary_t::value_type (#4805)

This commit is contained in:
Niels Lohmann authored and GitHub committed 2025-06-02 06:35:27 +02:00
1 parent b19f058465
commit cf16c5ab9f
3 files changed
+27 -2

No files matched your search

@@ -2944,7 +2944,7 @@ class binary_reader
success = false;
break;
}
result.push_back(static_cast<std::uint8_t>(current));
result.push_back(static_cast<typename binary_t::value_type>(current));
}
return success;
}