Merge pull request #28299 from AsyaPronina:rename_workload_type_notify

[G-API] Renamed `WorkloadType::notify()` -> `WorkloadType::set()`
This commit is contained in:
Alexander Smorkalov
2025-12-25 11:59:05 +03:00
committed by GitHub

View File

@@ -30,6 +30,7 @@ public:
return id == other.id;
}
};
class WorkloadType {
std::vector<WorkloadListener> listeners;
uint64_t nextId = 1;
@@ -48,7 +49,7 @@ public:
}
}
void notify(const std::string &type) {
void set(const std::string &type) {
for (const auto &listener : listeners) {
listener(type);
}