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
+7 -2
View File
@@ -4,7 +4,6 @@
#include "common/FlagsEnum.hpp"
#include "messages/layouts/MessageLayoutContainer.hpp"
#include <boost/noncopyable.hpp>
#include <QPixmap>
#include <cinttypes>
@@ -33,12 +32,18 @@ enum class MessageLayoutFlag : uint8_t {
};
using MessageLayoutFlags = FlagsEnum<MessageLayoutFlag>;
class MessageLayout : boost::noncopyable
class MessageLayout
{
public:
MessageLayout(MessagePtr message_);
~MessageLayout();
MessageLayout(const MessageLayout &) = delete;
MessageLayout &operator=(const MessageLayout &) = delete;
MessageLayout(MessageLayout &&) = delete;
MessageLayout &operator=(MessageLayout &&) = delete;
const Message *getMessage();
const MessagePtr &getMessagePtr() const;