mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-05 20:31:42 +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
|
@ -35,10 +35,10 @@ protected:
|
|||
|
||||
#if defined(HAS_AVAHI)
|
||||
#include "publish_avahi.hpp"
|
||||
typedef PublishAvahi PublishZeroConf;
|
||||
using PublishZeroConf = PublishAvahi;
|
||||
#elif defined(HAS_BONJOUR)
|
||||
#include "publish_bonjour.hpp"
|
||||
typedef PublishBonjour PublishZeroConf;
|
||||
using PublishZeroConf = PublishBonjour;
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue