mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-23 05:56:17 +02:00
Modernize: replace typedef with using
This commit is contained in:
parent
f388449c0a
commit
f1e672d375
7 changed files with 12 additions and 14 deletions
|
@ -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_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue