aboutsummaryrefslogtreecommitdiff
path: root/apps/sample-select.cpp
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-06-20 16:44:57 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2015-06-20 16:44:57 +0200
commitff6b859c52ad670b3db08e11209dc6833e894611 (patch)
tree694d60baf29854c0c26e98f5db134526613a3b55 /apps/sample-select.cpp
parentc7221b3666badbcf016e33997449e74778d979a9 (diff)
downloadble-toys-ff6b859c52ad670b3db08e11209dc6833e894611.tar.gz
ble-toys-ff6b859c52ad670b3db08e11209dc6833e894611.tar.bz2
ble-toys-ff6b859c52ad670b3db08e11209dc6833e894611.tar.xz
ble-toys-ff6b859c52ad670b3db08e11209dc6833e894611.zip
o Adding app_name to app, creating a per-app logger.
Diffstat (limited to 'apps/sample-select.cpp')
-rw-r--r--apps/sample-select.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/sample-select.cpp b/apps/sample-select.cpp
index e1bac07..c4304da 100644
--- a/apps/sample-select.cpp
+++ b/apps/sample-select.cpp
@@ -17,6 +17,11 @@ private:
string fields;
public:
+ sample_select() : app("sample-select") {
+ }
+
+ ~sample_select() = default;
+
void add_options(po::options_description_easy_init &options) override {
options
("help", "produce this help message")