Modernize: replace typedef with using

This commit is contained in:
badaix 2020-09-21 16:26:04 +02:00
parent f388449c0a
commit f1e672d375
7 changed files with 12 additions and 14 deletions

View file

@ -79,8 +79,8 @@ public:
}
// Implement the ConstBufferSequence requirements.
typedef boost::asio::const_buffer value_type;
typedef const boost::asio::const_buffer* const_iterator;
using value_type = boost::asio::const_buffer;
using const_iterator = const boost::asio::const_buffer*;
const boost::asio::const_buffer* begin() const
{
return &buffer_;