File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ TEST(buffer, vrefbuffer)
4242 vbuf.write (" a" , 1 );
4343 vbuf.write (" a" , 1 );
4444
45- const struct iovec * vec = vbuf.vector ();
45+ const msgpack:: iovec* vec = vbuf.vector ();
4646 size_t veclen = vbuf.vector_size ();
4747
4848 msgpack::sbuffer sbuf;
Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ using namespace std;
3434 test_type val1 = v[i]; \
3535 msgpack::pack (vbuf, val1); \
3636 msgpack::sbuffer sbuf; \
37- const struct iovec * cur = vbuf.vector (); \
38- const struct iovec * end = cur + vbuf.vector_size (); \
37+ const msgpack:: iovec* cur = vbuf.vector (); \
38+ const msgpack:: iovec* end = cur + vbuf.vector_size (); \
3939 for (; cur != end; ++cur) \
4040 sbuf.write ((const char *)cur->iov_base , cur->iov_len ); \
4141 msgpack::object_handle oh; \
You can’t perform that action at this time.
0 commit comments