MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / getSecurityProducts

Function getSecurityProducts

src/envsecurity.cpp:391–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

389}
390
391std::vector<SecurityProduct> getSecurityProducts()
392{
393 std::vector<SecurityProduct> v;
394
395 {
396 auto fromWMI = getSecurityProductsFromWMI();
397 v.insert(v.end(), std::make_move_iterator(fromWMI.begin()),
398 std::make_move_iterator(fromWMI.end()));
399 }
400
401 if (auto p = getWindowsFirewall()) {
402 v.push_back(std::move(*p));
403 }
404
405 return v;
406}
407
408class failed
409{

Callers 1

env.cppFile · 0.85

Calls 5

getWindowsFirewallFunction · 0.85
insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected