mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Fix debug builds after small vector optimization
This commit is contained in:
@@ -90,8 +90,8 @@ inline BOOST_ASIO_MUTABLE_BUFFER buffer(
|
|||||||
data.size() ? &data[0] : 0, data.size() * sizeof(PodType)
|
data.size() ? &data[0] : 0, data.size() * sizeof(PodType)
|
||||||
#if defined(BOOST_ASIO_ENABLE_BUFFER_DEBUGGING)
|
#if defined(BOOST_ASIO_ENABLE_BUFFER_DEBUGGING)
|
||||||
,
|
,
|
||||||
detail::buffer_debug_check<
|
detail::buffer_debug_check<typename boost::container::small_vector_base<
|
||||||
typename std::vector<PodType, Allocator>::iterator>(data.begin())
|
PodType, Allocator>::iterator>(data.begin())
|
||||||
#endif // BOOST_ASIO_ENABLE_BUFFER_DEBUGGING
|
#endif // BOOST_ASIO_ENABLE_BUFFER_DEBUGGING
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@@ -110,8 +110,8 @@ inline BOOST_ASIO_MUTABLE_BUFFER buffer(
|
|||||||
: max_size_in_bytes
|
: max_size_in_bytes
|
||||||
#if defined(BOOST_ASIO_ENABLE_BUFFER_DEBUGGING)
|
#if defined(BOOST_ASIO_ENABLE_BUFFER_DEBUGGING)
|
||||||
,
|
,
|
||||||
detail::buffer_debug_check<
|
detail::buffer_debug_check<typename boost::container::small_vector_base<
|
||||||
typename std::vector<PodType, Allocator>::iterator>(data.begin())
|
PodType, Allocator>::iterator>(data.begin())
|
||||||
#endif // BOOST_ASIO_ENABLE_BUFFER_DEBUGGING
|
#endif // BOOST_ASIO_ENABLE_BUFFER_DEBUGGING
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user