summaryrefslogtreecommitdiff
path: root/view/sharedcache
diff options
context:
space:
mode:
authorMark Rowe <mark@vector35.com>2025-08-11 15:45:38 -0700
committerMark Rowe <mark@vector35.com>2025-08-20 13:06:33 -0400
commitff72f3be107e94a0be41a1e7ba113000a4e95089 (patch)
tree1dec15cea9d5b8e5609b1006638fc5cea2eda974 /view/sharedcache
parente15b6e8789bd791a201bdac031561dddb59a99e4 (diff)
Deprecate Workflow::Instance in favor of Workflow::Get and Workflow::GetOrCreate
Calls to `Workflow::Instance` that were looking up a built-in workflow name are updated to use `Workflow::Get`. Others use `Workflow::GetOrCreate`.
Diffstat (limited to 'view/sharedcache')
-rw-r--r--view/sharedcache/workflow/SharedCacheWorkflow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/sharedcache/workflow/SharedCacheWorkflow.cpp b/view/sharedcache/workflow/SharedCacheWorkflow.cpp
index 3fce2e39..3844516f 100644
--- a/view/sharedcache/workflow/SharedCacheWorkflow.cpp
+++ b/view/sharedcache/workflow/SharedCacheWorkflow.cpp
@@ -370,7 +370,7 @@ void AnalyzeFunction(Ref<AnalysisContext> ctx)
void SharedCacheWorkflow::Register()
{
- Ref<Workflow> workflow = Workflow::Instance("core.function.metaAnalysis")->Clone("core.function.metaAnalysis");
+ Ref<Workflow> workflow = Workflow::Get("core.function.metaAnalysis")->Clone("core.function.metaAnalysis");
// Register and insert activities here.
ObjCActivity::Register(*workflow);