aboutsummaryrefslogtreecommitdiff
path: root/sensor/main
diff options
context:
space:
mode:
Diffstat (limited to 'sensor/main')
-rw-r--r--sensor/main/SensorSample.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/sensor/main/SensorSample.cpp b/sensor/main/SensorSample.cpp
index 6ec6dfc..5f0e9c6 100644
--- a/sensor/main/SensorSample.cpp
+++ b/sensor/main/SensorSample.cpp
@@ -1,4 +1,4 @@
-#include "SensorSample.h"
+#include "trygvis/SensorSample.h"
#include "json.hpp"
#include <set>
@@ -6,7 +6,7 @@
#include <chrono>
namespace trygvis {
-namespace soil_moisture {
+namespace sensor {
using namespace std;
using json = nlohmann::json;
@@ -441,11 +441,9 @@ unique_ptr<SampleOutputStream> open_sample_output_stream(
}
}
-//template<typename T>
ThreadSafeSampleOutputStream::ThreadSafeSampleOutputStream(unique_ptr<SampleOutputStream> underlying) : underlying(move(underlying)) {
}
-//template<typename T>
void ThreadSafeSampleOutputStream::write(SampleRecord const &sample) {
std::unique_lock<std::mutex> lock(mutex);