summaryrefslogtreecommitdiff
path: root/src/IOManager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/IOManager.hpp')
-rw-r--r--src/IOManager.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/IOManager.hpp b/src/IOManager.hpp
index 670e597..d2e4ca9 100644
--- a/src/IOManager.hpp
+++ b/src/IOManager.hpp
@@ -2,7 +2,9 @@
#include "chatManager.hpp"
#include "format.hpp"
+#include <mutex>
#include <optional>
+#include <vector>
class CIOManager {
public:
@@ -28,6 +30,8 @@ class CIOManager {
private:
std::vector<SIO> m_vIO;
+ mutable std::mutex m_mutex;
+
friend class CChatManager;
};
inline std::unique_ptr<CIOManager> g_pIOManager;