From b3d5a3900110ef0e7c9d899d3d8ee0d5b0f3ef48 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sun, 30 May 2021 00:05:36 +0200 Subject: [PATCH] Fix debug builds after small vector optimization --- src/common/communication/common.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/communication/common.h b/src/common/communication/common.h index 3f9a8114..21ed834b 100644 --- a/src/common/communication/common.h +++ b/src/common/communication/common.h @@ -90,8 +90,8 @@ inline BOOST_ASIO_MUTABLE_BUFFER buffer( data.size() ? &data[0] : 0, data.size() * sizeof(PodType) #if defined(BOOST_ASIO_ENABLE_BUFFER_DEBUGGING) , - detail::buffer_debug_check< - typename std::vector::iterator>(data.begin()) + detail::buffer_debug_check::iterator>(data.begin()) #endif // BOOST_ASIO_ENABLE_BUFFER_DEBUGGING ); } @@ -110,8 +110,8 @@ inline BOOST_ASIO_MUTABLE_BUFFER buffer( : max_size_in_bytes #if defined(BOOST_ASIO_ENABLE_BUFFER_DEBUGGING) , - detail::buffer_debug_check< - typename std::vector::iterator>(data.begin()) + detail::buffer_debug_check::iterator>(data.begin()) #endif // BOOST_ASIO_ENABLE_BUFFER_DEBUGGING ); }