Commit 94d3ce0e17894eb060beeae2a21eeedc1a6ce22d
1 parent
f203f4c1
Fixes for windows warnings
Showing
2 changed files
with
2 additions
and
2 deletions
include/CLI/App.hpp
| @@ -118,7 +118,7 @@ protected: | @@ -118,7 +118,7 @@ protected: | ||
| 118 | ///@} | 118 | ///@} |
| 119 | 119 | ||
| 120 | /// Special private constructor for subcommand | 120 | /// Special private constructor for subcommand |
| 121 | - App(std::string description_, bool help, detail::enabler dummy_param) | 121 | + App(std::string description_, bool help, detail::enabler) |
| 122 | : description_(description_) { | 122 | : description_(description_) { |
| 123 | 123 | ||
| 124 | if(help) | 124 | if(help) |
include/CLI/Ini.hpp
| @@ -23,7 +23,7 @@ struct ini_ret_t { | @@ -23,7 +23,7 @@ struct ini_ret_t { | ||
| 23 | std::vector<std::string> inputs; | 23 | std::vector<std::string> inputs; |
| 24 | 24 | ||
| 25 | /// Current parent level | 25 | /// Current parent level |
| 26 | - int level = 0; | 26 | + size_t level = 0; |
| 27 | 27 | ||
| 28 | /// Return parent or empty string, based on level | 28 | /// Return parent or empty string, based on level |
| 29 | /// | 29 | /// |