This commit is contained in:
Vinnie Falco committed 2019-02-05 09:56:48 -08:00
1 parent 98aed8ed49
commit 44d9eaba4d
6 files changed
+14 -14

No files matched your search

+3 -3
View File
@@ -33,7 +33,7 @@ public:
testDefaultIterators()
{
// default ctor is one past the end
char c[2];
char c[2] = {};
auto bs = buffers_cat(
net::const_buffer(&c[0], 1),
net::const_buffer(&c[1], 1));
@@ -58,7 +58,7 @@ public:
try
{
it = {};
*it;
(void)*it;
fail();
}
catch(std::logic_error const&)
@@ -114,7 +114,7 @@ public:
checkException(
[]
{
*(type::const_iterator{});
(void)*(type::const_iterator{});
});
// Incrementing a default-constructed iterator