catchorg / Clara

A simple to use, composable, command line parser for C++ 11 and beyond
Boost Software License 1.0
649 stars 67 forks source link

Add missing "const" to parseInto() #11

Closed vadz closed 8 years ago

vadz commented 8 years ago

Without it, the call to it from parse() didn't compile because array of const pointers is not convertible to an array of non-const ones.

Add a test case verifying that parse() at least compiles and regenerate clara.h to actually make it pass.

philsquared commented 8 years ago

Thanks for that - not sure how I missed it before.