MCPcopy Create free account
hub / github.com/USBGuard/usbguard / update

Method update

src/Library/RandomStateCondition.cpp:47–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 }
46
47 bool RandomStateCondition::update(const Rule& rule)
48 {
49 (void)rule;
50 return _rng_dist(_rng_gen);
51 }
52
53 RuleConditionBase* RandomStateCondition::clone() const
54 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected