From 729f6e745e561c35d602180afed70a083dd89a63 Mon Sep 17 00:00:00 2001 From: Koncord Date: Sun, 26 Nov 2017 00:00:31 +0800 Subject: [PATCH] [Server] Remove unused get() method from EventController --- apps/openmw-mp/Script/EventController.hpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/apps/openmw-mp/Script/EventController.hpp b/apps/openmw-mp/Script/EventController.hpp index 598035707..4eb647965 100644 --- a/apps/openmw-mp/Script/EventController.hpp +++ b/apps/openmw-mp/Script/EventController.hpp @@ -85,17 +85,6 @@ public: bool isStoped() const {return _stop;} CIterator stopedAt() const { return lastCalled; } - auto get(const std::string &modname) - { - for(auto iter = functions.cbegin(); iter != functions.cend(); ++iter) - { - if(iter->first["ModName"]["name"] == modname) - return iter; - } - return functions.cend(); - } - - template void call(type_tag, Args&&... args) {