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-convert.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-convert.cpp')
-rw-r--r-- | apps/sample-convert.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/sample-convert.cpp b/apps/sample-convert.cpp index baa1447..2dc34b3 100644 --- a/apps/sample-convert.cpp +++ b/apps/sample-convert.cpp @@ -26,6 +26,11 @@ private: string table_name; public: + sample_convert() : app("sample-convert") { + } + + ~sample_convert() = default; + void add_options(po::options_description_easy_init &options) override { options ("help", "produce this help message") |