diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-06-20 16:44:57 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-06-20 16:44:57 +0200 |
commit | ff6b859c52ad670b3db08e11209dc6833e894611 (patch) | |
tree | 694d60baf29854c0c26e98f5db134526613a3b55 /apps/sample-select.cpp | |
parent | c7221b3666badbcf016e33997449e74778d979a9 (diff) | |
download | ble-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.cpp | 5 |
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") |