diff options
author | Matt Spinler <spinler@us.ibm.com> | 2017-05-24 11:42:25 -0500 |
---|---|---|
committer | Matt Spinler <spinler@us.ibm.com> | 2017-05-24 11:44:52 -0500 |
commit | 06bae85443fdb1e5e9540280a7aeac2f36ffaa7b (patch) | |
tree | c7a2edc39718cb0af386cd6bceb2dc80731d7680 /argument.hpp | |
parent | 07710ef7ea44e406943a87e22ee71f2302081245 (diff) | |
download | phosphor-fan-presence-06bae85443fdb1e5e9540280a7aeac2f36ffaa7b.tar.gz phosphor-fan-presence-06bae85443fdb1e5e9540280a7aeac2f36ffaa7b.zip |
Have cooling-type use the common argument.hpp
The cooling-type application should use the common
header file for the ArgumentParser class now that one
is available.
Also fixed where a static ArgumentParser constant was
being initialized.
Change-Id: I1fb0dfe3bd0c6e0200ad7c718ef2a3def5476f3f
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Diffstat (limited to 'argument.hpp')
-rw-r--r-- | argument.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/argument.hpp b/argument.hpp index c314006..9d0ab06 100644 --- a/argument.hpp +++ b/argument.hpp @@ -30,7 +30,7 @@ class ArgumentParser static void usage(char** argv); - static constexpr auto true_string = "true"; + static const std::string true_string; static const std::string empty_string; private: |