diff options
Diffstat (limited to 'include/ble/att.h')
-rw-r--r-- | include/ble/att.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/ble/att.h b/include/ble/att.h index 152a779..7b77812 100644 --- a/include/ble/att.h +++ b/include/ble/att.h @@ -1,6 +1,5 @@ #pragma once -#include <variant> #include <vector> #include "ble/ByteBuffer.h" @@ -9,6 +8,9 @@ namespace trygvis { namespace bluetooth { +using ::trygvis::compiler::variant; +using ::trygvis::compiler::monostate; + /** * BLUETOOTH SPECIFICATION Version 4.0 [Vol 3] - Attribute Protocol (ATT) - 3.4.8 Attribute Opcode Summary * Table 3.37 @@ -144,7 +146,7 @@ struct HandleValueIndication { ByteBuffer data; }; -using AttVariant = std::variant<std::monostate, +using AttVariant = variant<monostate, ErrorRes, ExchangeMtuReq, ExchangeMtuRes, FindInformationRes, |