Removed unused EventManager class member from SignalHandler

This commit is contained in:
Nav
2022-03-20 17:44:05 +00:00
parent 8d089a750e
commit 3f70e84f68
2 changed files with 2 additions and 4 deletions

View File

@@ -95,7 +95,7 @@ namespace Bloom
* *
* See the SignalHandler class for more on this. * See the SignalHandler class for more on this.
*/ */
SignalHandler signalHandler = SignalHandler(this->eventManager); SignalHandler signalHandler = SignalHandler();
std::thread signalHandlerThread; std::thread signalHandlerThread;
/** /**

View File

@@ -11,7 +11,7 @@ namespace Bloom
class SignalHandler: public Thread class SignalHandler: public Thread
{ {
public: public:
explicit SignalHandler(EventManager& eventManager): eventManager(eventManager) {}; SignalHandler() = default;
/** /**
* Entry point for SignalHandler thread. * Entry point for SignalHandler thread.
@@ -26,8 +26,6 @@ namespace Bloom
}; };
private: private:
EventManager& eventManager;
/** /**
* Mapping of signal numbers to functions. * Mapping of signal numbers to functions.
*/ */