| 112 | } |
| 113 | |
| 114 | std::shared_ptr<Rule> LDAPRuleSet::getFirstMatchingRule(std::shared_ptr<const Rule> device_rule, uint32_t from_id) const |
| 115 | { |
| 116 | USBGUARD_LOG(Trace); |
| 117 | std::future<void> ft = std::async(std::launch::deferred, std::bind(&LDAPRuleSet::update, *this)); |
| 118 | ft.get(); |
| 119 | return RuleSet::getFirstMatchingRule(device_rule, from_id); |
| 120 | } |
| 121 | } /* namespace usbguard */ |
| 122 | |
| 123 | #endif |
no outgoing calls
no test coverage detected