small refactor of twitchserver

This commit is contained in:
fourtf
2018-06-22 23:24:45 +02:00
parent 115031b7ac
commit 4aec66e3ea
5 changed files with 44 additions and 53 deletions
+2 -1
View File
@@ -1,12 +1,13 @@
#pragma once
#include <boost/noncopyable.hpp>
#include <mutex>
namespace chatterino {
namespace util {
template <typename T>
class MutexValue
class MutexValue : boost::noncopyable
{
mutable std::mutex mutex;
T value;