aboutsummaryrefslogtreecommitdiff
path: root/sensor
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-11-19 23:13:50 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2018-11-19 23:13:50 +0100
commite8aa2eadf309fbc0c0e1418c6bee482e505fa09b (patch)
treee93292292834b8d8959301cd8d02b27090e7e0ca /sensor
parentd6f16958eaa966332b911eb9257b8524c2efd772 (diff)
downloadble-toys-e8aa2eadf309fbc0c0e1418c6bee482e505fa09b.tar.gz
ble-toys-e8aa2eadf309fbc0c0e1418c6bee482e505fa09b.tar.bz2
ble-toys-e8aa2eadf309fbc0c0e1418c6bee482e505fa09b.tar.xz
ble-toys-e8aa2eadf309fbc0c0e1418c6bee482e505fa09b.zip
ble-read-characteristic: working READ mode, starting on NOTIFY.
Diffstat (limited to 'sensor')
-rw-r--r--sensor/include/trygvis/sensor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sensor/include/trygvis/sensor.h b/sensor/include/trygvis/sensor.h
index 09372b9..8f76eca 100644
--- a/sensor/include/trygvis/sensor.h
+++ b/sensor/include/trygvis/sensor.h
@@ -6,7 +6,7 @@
#include <memory>
#include <vector>
#include <algorithm>
-#include <experimental/optional>
+#include <optional>
namespace trygvis {
namespace sensor {
@@ -14,7 +14,7 @@ namespace sensor {
//using namespace std;
template<typename T>
-using o = std::experimental::optional<T>;
+using o = std::optional<T>;
enum class sample_format_type {
AUTO,