MCPcopy Create free account
hub / github.com/daniele77/cli / Unload

Method Unload

examples/pluginmanager.cpp:103–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101 plugins.push_back(std::move(p));
102 }
103 void Unload(const string& plugin)
104 {
105 plugins.erase(
106 remove_if(
107 plugins.begin(),
108 plugins.end(),
109 [&](auto& p){ return p->Name() == plugin; }
110 ),
111 plugins.end()
112 );
113 }
114 void PrintLoaded(ostream& out) const
115 {
116 for (auto& p: plugins)

Callers 1

mainFunction · 0.80

Calls 1

NameMethod · 0.45

Tested by

no test coverage detected