0
0
mirror of https://github.com/opencv/opencv.git synced 2026-01-18 17:21:42 +01:00

[G-API] Renamed WorkloadType::notify() -> WorkloadType::set()

This commit is contained in:
Anastasiya Pronina
2025-12-24 22:44:54 +00:00
parent 4705320496
commit e16fbb392c

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);
}