Skip to content

Commit 6e14766

Browse files
committed
2 parents 17ac165 + ed5813c commit 6e14766

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

include/jsoncons/json_container_types.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,6 @@ namespace jsoncons {
295295
if (item.size() > 0) // non-empty object or array
296296
{
297297
elements_.push_back(std::move(item));
298-
assert(item.size() == 0);
299298
}
300299
}
301300
current.clear();
@@ -308,7 +307,6 @@ namespace jsoncons {
308307
if (kv.value().size() > 0) // non-empty object or array
309308
{
310309
elements_.push_back(std::move(kv.value()));
311-
assert(kv.value().size() == 0);
312310
}
313311
}
314312
current.clear();
@@ -1201,7 +1199,6 @@ namespace jsoncons {
12011199
if (kv.value().size() > 0)
12021200
{
12031201
temp.emplace_back(std::move(kv.value()));
1204-
assert(kv.value().size() == 0);
12051202
}
12061203
}
12071204
}
@@ -1894,7 +1891,6 @@ namespace jsoncons {
18941891
if (kv.value().size() > 0)
18951892
{
18961893
temp.emplace_back(std::move(kv.value()));
1897-
assert(kv.value().size() == 0);
18981894
}
18991895
}
19001896
}

0 commit comments

Comments
 (0)