mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-17 19:22:25 +01:00
Add value initializer to silence warning
This commit is contained in:
parent
b0f4f16ee0
commit
4ff3556d3f
2
include/external/clara.hpp
vendored
2
include/external/clara.hpp
vendored
@ -748,7 +748,7 @@ namespace detail {
|
|||||||
|
|
||||||
template<typename ArgType, typename L>
|
template<typename ArgType, typename L>
|
||||||
inline auto invokeLambda( L const &lambda, std::string const &arg ) -> ParserResult {
|
inline auto invokeLambda( L const &lambda, std::string const &arg ) -> ParserResult {
|
||||||
ArgType temp;
|
ArgType temp{};
|
||||||
auto result = convertInto( arg, temp );
|
auto result = convertInto( arg, temp );
|
||||||
return !result
|
return !result
|
||||||
? result
|
? result
|
||||||
|
Loading…
Reference in New Issue
Block a user