aboutsummaryrefslogtreecommitdiff
path: root/sensor
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-07-19 23:13:07 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2015-07-19 23:13:07 +0200
commit06b0a16d2635dba071ea7967f32c2aabe2b9cbcc (patch)
tree0d5d9c40f0dbc8d1fadc89e1da897075ecc52a8a /sensor
parentae2d05eee4ffcec4c0611d907779ce8ef61d3a6e (diff)
downloadble-toys-06b0a16d2635dba071ea7967f32c2aabe2b9cbcc.tar.gz
ble-toys-06b0a16d2635dba071ea7967f32c2aabe2b9cbcc.tar.bz2
ble-toys-06b0a16d2635dba071ea7967f32c2aabe2b9cbcc.tar.xz
ble-toys-06b0a16d2635dba071ea7967f32c2aabe2b9cbcc.zip
o Trying to clean up includes a bit.
Diffstat (limited to 'sensor')
-rw-r--r--sensor/include/trygvis/sensor.h5
-rw-r--r--sensor/include/trygvis/sensor/io.h2
-rw-r--r--sensor/main/io.cpp4
-rw-r--r--sensor/main/sensor.cpp5
4 files changed, 6 insertions, 10 deletions
diff --git a/sensor/include/trygvis/sensor.h b/sensor/include/trygvis/sensor.h
index b5199e2..c109a2a 100644
--- a/sensor/include/trygvis/sensor.h
+++ b/sensor/include/trygvis/sensor.h
@@ -1,9 +1,10 @@
#pragma once
-#include <exception>
-#include <string>
+#include <stdexcept>
+#include <iosfwd>
#include <iostream>
#include <memory>
+#include <vector>
#include <boost/optional/optional.hpp>
namespace trygvis {
diff --git a/sensor/include/trygvis/sensor/io.h b/sensor/include/trygvis/sensor/io.h
index b69bd7a..dd1460b 100644
--- a/sensor/include/trygvis/sensor/io.h
+++ b/sensor/include/trygvis/sensor/io.h
@@ -3,7 +3,7 @@
#include "trygvis/sensor.h"
#include <mutex>
-#include "boost/asio/buffer.hpp"
+#include <boost/asio/buffer.hpp>
namespace trygvis {
namespace sensor {
diff --git a/sensor/main/io.cpp b/sensor/main/io.cpp
index a37844a..6c384ff 100644
--- a/sensor/main/io.cpp
+++ b/sensor/main/io.cpp
@@ -1,8 +1,8 @@
#include "trygvis/sensor/io.h"
#include <map>
-#include "json.hpp"
-#include "boost/tokenizer.hpp"
+#include <json.hpp>
+#include <boost/tokenizer.hpp>
#include <boost/algorithm/string.hpp>
namespace trygvis {
diff --git a/sensor/main/sensor.cpp b/sensor/main/sensor.cpp
index be3d31e..1c0c666 100644
--- a/sensor/main/sensor.cpp
+++ b/sensor/main/sensor.cpp
@@ -1,10 +1,5 @@
#include "trygvis/sensor.h"
-
-#include "json.hpp"
-#include <set>
-#include <boost/regex.hpp>
#include <boost/lexical_cast.hpp>
-#include <chrono>
namespace trygvis {
namespace sensor {