Commit 44b4801f6b1a6c03766c2858e8a2bafca66dd17e
Committed by
GitHub
1 parent
97b1def5
Changed "and" to "&&" for non compliant compilers (MSVC).
Showing
1 changed file
with
1 additions
and
1 deletions
include/CLI/App.hpp
| @@ -842,7 +842,7 @@ class App { | @@ -842,7 +842,7 @@ class App { | ||
| 842 | } | 842 | } |
| 843 | 843 | ||
| 844 | if (value.size() != 0) { | 844 | if (value.size() != 0) { |
| 845 | - if (write_description and opt->description_.size() != 0) { | 845 | + if (write_description && opt->description_.size() != 0) { |
| 846 | if (out.tellp() != 0) { | 846 | if (out.tellp() != 0) { |
| 847 | out << std::endl; | 847 | out << std::endl; |
| 848 | } | 848 | } |