Remove boost::noncopyable use & boost::random dependency (#4776)

The use has been removed from the following files:
* Atomic.hpp
* SignalVector.hpp
* Benchmark.hpp
* IvrApi
* LoggingChannel.hpp
* Singleton.hpp
* Image.hpp
* PrecompiledHeader.hpp
* Message.hpp
* MessageElement.hpp
* MessageLayout.hpp
* MessageLayoutElement.hpp
* Fonts.hpp (just include)
This commit is contained in:
pajlada
2023-09-09 12:23:20 +02:00
committed by GitHub
parent ba440e0ccb
commit 877a4e05fa
17 changed files with 92 additions and 35 deletions
-1
View File
@@ -3,7 +3,6 @@
#include "common/ChatterinoSetting.hpp"
#include "common/Singleton.hpp"
#include <boost/noncopyable.hpp>
#include <pajlada/signals/signal.hpp>
#include <QFont>
#include <QFontDatabase>
+8 -2
View File
@@ -1,6 +1,5 @@
#pragma once
#include <boost/noncopyable.hpp>
#include <QDateTime>
#include <QFile>
#include <QString>
@@ -13,13 +12,20 @@ class Logging;
struct Message;
using MessagePtr = std::shared_ptr<const Message>;
class LoggingChannel : boost::noncopyable
class LoggingChannel
{
explicit LoggingChannel(const QString &_channelName,
const QString &platform);
public:
~LoggingChannel();
LoggingChannel(const LoggingChannel &) = delete;
LoggingChannel &operator=(const LoggingChannel &) = delete;
LoggingChannel(LoggingChannel &&) = delete;
LoggingChannel &operator=(LoggingChannel &&) = delete;
void addMessage(MessagePtr message);
private: