From d7d545575250f616f0b9e2243e08544ab2794a03 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 22 Mar 2015 17:29:35 +0100 Subject: o Renaming trygvis::soil_moisture to trygvis::sample. --- sensor/main/SensorSample.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sensor/main') 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 @@ -6,7 +6,7 @@ #include namespace trygvis { -namespace soil_moisture { +namespace sensor { using namespace std; using json = nlohmann::json; @@ -441,11 +441,9 @@ unique_ptr open_sample_output_stream( } } -//template ThreadSafeSampleOutputStream::ThreadSafeSampleOutputStream(unique_ptr underlying) : underlying(move(underlying)) { } -//template void ThreadSafeSampleOutputStream::write(SampleRecord const &sample) { std::unique_lock lock(mutex); -- cgit v1.2.3