Skip to content
Snippets Groups Projects
Commit 5f0e03c7 authored by pre-commit-ci[bot]'s avatar pre-commit-ci[bot]
Browse files

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
parent 81e121f6
No related branches found
No related tags found
No related merge requests found
Pipeline #31742 failed
......@@ -84,10 +84,10 @@ bp::object executeCmd(bp::tuple args, bp::dict) {
std::vector<Value> values;
values.reserve(command.valueTypes().size());
for (bp::ssize_t i = 1; i < bp::len(args); ++i)
values.push_back(convert::toValue
(args[i],
command.valueTypes()
[static_cast<std::vector<Value>::size_type>(i - 1)]));
values.push_back(convert::toValue(
args[i],
command
.valueTypes()[static_cast<std::vector<Value>::size_type>(i - 1)]));
command.setParameterValues(values);
return convert::fromValue(command.execute());
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment