aboutsummaryrefslogtreecommitdiff
path: root/include/ble/misc.h
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-11-23 16:41:24 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2018-11-23 16:41:24 +0100
commitaf416f81b14a3bee682e300b165a6efdb9739d54 (patch)
tree20c4704d5d24ed18a78970f9331aec12c9522a41 /include/ble/misc.h
parent2034b1bb10720a2f0e6cc97427346f2320c115bc (diff)
downloadble-toys-af416f81b14a3bee682e300b165a6efdb9739d54.tar.gz
ble-toys-af416f81b14a3bee682e300b165a6efdb9739d54.tar.bz2
ble-toys-af416f81b14a3bee682e300b165a6efdb9739d54.tar.xz
ble-toys-af416f81b14a3bee682e300b165a6efdb9739d54.zip
o Trying to improve compatibility with some feature checks.
o Misc nits.
Diffstat (limited to 'include/ble/misc.h')
-rw-r--r--include/ble/misc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ble/misc.h b/include/ble/misc.h
index 563d039..aa0ba2e 100644
--- a/include/ble/misc.h
+++ b/include/ble/misc.h
@@ -1,5 +1,6 @@
#pragma once
+#include "ble/compiler-support.h"
#include "ByteBuffer.h"
#include <optional>
@@ -10,8 +11,7 @@
namespace trygvis {
namespace bluetooth {
-template<typename T>
-using o = std::optional<T>;
+using ::trygvis::compiler::o;
class BluetoothAdapter;
class BluetoothDevice;