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
+9 -2
View File
@@ -3,7 +3,6 @@
#include "common/NetworkRequest.hpp"
#include "providers/twitch/TwitchEmotes.hpp"
#include <boost/noncopyable.hpp>
#include <QJsonArray>
#include <QJsonObject>
@@ -74,7 +73,7 @@ struct IvrEmote {
}
};
class IvrApi final : boost::noncopyable
class IvrApi final
{
public:
// https://api.ivr.fi/v2/docs/static/index.html#/Twitch/get_twitch_subage__user___channel_
@@ -89,6 +88,14 @@ public:
static void initialize();
IvrApi() = default;
IvrApi(const IvrApi &) = delete;
IvrApi &operator=(const IvrApi &) = delete;
IvrApi(IvrApi &&) = delete;
IvrApi &operator=(IvrApi &&) = delete;
private:
NetworkRequest makeRequest(QString url, QUrlQuery urlQuery);
};