Document macro usage and simplify code

This commit is contained in:
Gudmundur Adalsteinsson
2020-05-16 13:00:46 +00:00
parent 6d71b9b541
commit 1fc3a9a873
5 changed files with 37 additions and 17 deletions

View File

@@ -222,7 +222,7 @@ TEST_CASE("mutable_buffer creation string", "[buffer]")
CHECK(b2.data() == d.data());
}
#ifdef ZMQ_CPP17
#if CPPZMQ_HAS_STRING_VIEW
TEST_CASE("const_buffer creation string_view", "[buffer]")
{
std::wstring dstr(10, L'a');