summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2025-03-06 11:02:42 -0500
committerBrian Potchik <brian@vector35.com>2025-03-06 11:02:42 -0500
commit2f63d97acbc9c92a75f4f75e43ebdf152e240919 (patch)
tree0ec527bfac5ceae125239a04a53b6e322e45e7c7 /binaryninjaapi.h
parent1208662536039325106917208339208590767363 (diff)
Make the Workflow::Clone name optional and update the docs.
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index ceb42937..a0ad6980 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -10098,11 +10098,11 @@ namespace BinaryNinja {
/*! Clone a workflow, copying all Activities and the execution strategy
- \param name Name for the new Workflow
+ \param name If specified, name the new Workflow, otherwise the name is copied from the original
\param activity If specified, perform the clone with `activity` as the root
\return A new Workflow
*/
- Ref<Workflow> Clone(const std::string& name, const std::string& activity = "");
+ Ref<Workflow> Clone(const std::string& name = "", const std::string& activity = "");
/*! Register an Activity with this Workflow