From ba6324930118a62e05d3869f99543c4a7507f105 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sun, 22 Feb 2015 15:36:06 +0100 Subject: o Splitting out public header files into it's own directory. --- apps/sm-get-value.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'apps/sm-get-value.cpp') diff --git a/apps/sm-get-value.cpp b/apps/sm-get-value.cpp index 66d35f1..e4ddc16 100644 --- a/apps/sm-get-value.cpp +++ b/apps/sm-get-value.cpp @@ -1,9 +1,8 @@ #include #include #include -#include "Bluetooth.h" +#include "ble/Bluetooth.h" #include "soil-moisture.h" -#include "log.h" using namespace std; using namespace trygvis::bluetooth; @@ -135,10 +134,10 @@ int main(int argc, char *argv[]) { return EXIT_SUCCESS; } catch (std::runtime_error ex) { - W << "std::runtime_error: " << ex.what(); + cout << "std::runtime_error: " << ex.what() << endl; return EXIT_FAILURE; } catch (std::exception ex) { - W << "std::exception: " << ex.what(); + cout << "std::exception: " << ex.what() << endl; return EXIT_FAILURE; } } -- cgit v1.2.3