Skip to content

Commit a5bdd77

Browse files
author
Roy Bellingan
committed
initial test for intrusive debug
1 parent ff23c9a commit a5bdd77

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

include/boost/json/detail/value_to.hpp

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@
1212
#ifndef BOOST_JSON_DETAIL_VALUE_TO_HPP
1313
#define BOOST_JSON_DETAIL_VALUE_TO_HPP
1414

15-
16-
#ifndef BOOST_JSON_DETAIL_VALUE_TO_HPP
17-
#define BOOST_JSON_DETAIL_VALUE_TO_HPP
18-
#endif
19-
2015
#ifndef BOOST_JSON_INTRUSIVE_INDEX_INC
2116
#define BOOST_JSON_INTRUSIVE_INDEX_INC ((void)0);
2217
#endif
@@ -369,18 +364,6 @@ value_to_impl(
369364
if( N != arr->size() )
370365
{
371366
BOOST_JSON_FAIL(ec, error::size_mismatch);
372-
373-
using Ds = described_members<T>;
374-
using D = boost::mp11::mp_first<Ds>;
375-
//This is to avoid the non used warning
376-
(void)D::name;
377-
378-
BOOST_JSON_INTRUSIVE_MESSAGE(
379-
std::format(
380-
"while processing array {} in {}, found {} element expected {}",
381-
D::name, BOOST_JSON_INTRUSIVE::composePath(),
382-
arr->size(), N));
383-
384367
return {boost::system::in_place_error, ec};
385368
}
386369

0 commit comments

Comments
 (0)