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 ); }