"tests/vscode:/vscode.git/clone" did not exist on "a69ebe5527b24c5f688545460a7d83eb4cc66648"
Commit fa21bcde authored by Po-Yen, Chen's avatar Po-Yen, Chen
Browse files

Use more reasonable return value for Invoker::Run()

parent 5b63400a
...@@ -60,7 +60,7 @@ struct InvokerBase : BaseInvoker ...@@ -60,7 +60,7 @@ struct InvokerBase : BaseInvoker
const auto* argument = dynamic_cast<const Argument*>(arg); const auto* argument = dynamic_cast<const Argument*>(arg);
if(!argument) if(!argument)
{ {
return false; return 0.f;
} }
return Derived::Run(*argument, stream_config); return Derived::Run(*argument, stream_config);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment