Compare commits

..
2 changed files with 2 additions and 2 deletions

No files matched your search

+1 -1
View File
@@ -1 +1 @@
reuse==6.3.0 reuse==6.2.0
+1 -1
View File
@@ -351,7 +351,7 @@ TEST_CASE("parsing from a FILE*")
{ {
CAPTURE(size) CAPTURE(size)
std::vector<char> buffer(static_cast<std::size_t>(size)); std::vector<char> buffer(static_cast<std::size_t>(size));
const file_ptr f = open_with(name, std::string(cbor.begin(), cbor.end())); const file_ptr f = open_with(name, std::string(reinterpret_cast<const char*>(cbor.data()), cbor.size()));
REQUIRE(f != nullptr); REQUIRE(f != nullptr);
REQUIRE(std::setvbuf(f.get(), buffer.data(), _IOFBF, buffer.size()) == 0); REQUIRE(std::setvbuf(f.get(), buffer.data(), _IOFBF, buffer.size()) == 0);
CHECK(json::from_cbor(f.get()) == value); CHECK(json::from_cbor(f.get()) == value);