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:
@@ -1,16 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include <boost/noncopyable.hpp>
|
||||
#include <QElapsedTimer>
|
||||
#include <QString>
|
||||
|
||||
namespace chatterino {
|
||||
|
||||
class BenchmarkGuard : boost::noncopyable
|
||||
class BenchmarkGuard
|
||||
{
|
||||
public:
|
||||
BenchmarkGuard(const QString &_name);
|
||||
~BenchmarkGuard();
|
||||
|
||||
BenchmarkGuard(const BenchmarkGuard &) = delete;
|
||||
BenchmarkGuard &operator=(const BenchmarkGuard &) = delete;
|
||||
|
||||
BenchmarkGuard(BenchmarkGuard &&) = delete;
|
||||
BenchmarkGuard &operator=(BenchmarkGuard &&) = delete;
|
||||
|
||||
qreal getElapsedMs();
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user