diff options
Diffstat (limited to 'src/ClientID.hpp')
-rw-r--r-- | src/ClientID.hpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/ClientID.hpp b/src/ClientID.hpp index d58c5ee..43b56ec 100644 --- a/src/ClientID.hpp +++ b/src/ClientID.hpp @@ -17,6 +17,8 @@ #ifndef PATCHAGE_CLIENTID_HPP #define PATCHAGE_CLIENTID_HPP +#include "ClientType.hpp" + #include <cassert> #include <cstdint> #include <ostream> @@ -26,11 +28,7 @@ /// An ID for some client (program) that has ports struct ClientID { - enum class Type - { - jack, - alsa, - }; + using Type = ClientType; ClientID(const ClientID& copy) = default; ClientID& operator=(const ClientID& copy) = default; |