mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 07:16:10 +01:00
Tiny cleanup in catch_clara.cpp
This commit is contained in:
parent
07cdef2096
commit
880285b433
@ -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() ==
|
||||||
|
Loading…
Reference in New Issue
Block a user