We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5f830c commit 1e2cab4Copy full SHA for 1e2cab4
include/behaviortree_cpp/scripting/operators.hpp
@@ -401,7 +401,7 @@ struct ExprAssignment : ExprBase
401
try {
402
value.copyInto(*any_ptr);
403
}
404
- catch (std::runtime_error) {
+ catch (std::runtime_error&) {
405
throw RuntimeError("A script failed to convert the given type "
406
"to the one expected by that port.");
407
0 commit comments