using --end() for self
This commit is contained in:
@@ -71,7 +71,8 @@ void App::load(std::string lib) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
modules.push_back(m);
|
modules.push_back(m);
|
||||||
m->setSelf(modules.rbegin().base());
|
m->setSelf(--modules.end());
|
||||||
|
modules.end()++;
|
||||||
}
|
}
|
||||||
|
|
||||||
void App::unload(decltype(Module::self) it) {
|
void App::unload(decltype(Module::self) it) {
|
||||||
|
|||||||
Reference in New Issue
Block a user