forked from catchorg/Catch2
Tiny cleanup in catch_clara.cpp
This commit is contained in:
@ -233,7 +233,7 @@ namespace Catch {
|
|||||||
return Detail::InternalParseResult::runtimeError(
|
return Detail::InternalParseResult::runtimeError(
|
||||||
"Expected argument following " +
|
"Expected argument following " +
|
||||||
token.token);
|
token.token);
|
||||||
auto result = valueRef->setValue(argToken.token);
|
const auto result = valueRef->setValue(argToken.token);
|
||||||
if (!result)
|
if (!result)
|
||||||
return Detail::InternalParseResult(result);
|
return Detail::InternalParseResult(result);
|
||||||
if (result.value() ==
|
if (result.value() ==
|
||||||
|
Reference in New Issue
Block a user