Pass primitive types by value (#935)

This commit is contained in:
Murat Seker
2020-08-08 13:09:15 +02:00
committed by GitHub
parent 5758b19cbc
commit c00d8e62fb
146 changed files with 505 additions and 505 deletions

View File

@@ -2,11 +2,11 @@
// Hyperion-Dispmanx includes
#include "DispmanxWrapper.h"
DispmanxWrapper::DispmanxWrapper(const unsigned grabWidth, const unsigned grabHeight,
const VideoMode& videoMode,
const unsigned cropLeft, const unsigned cropRight,
const unsigned cropTop, const unsigned cropBottom,
const unsigned updateRate_Hz) :
DispmanxWrapper::DispmanxWrapper(unsigned grabWidth, unsigned grabHeight,
VideoMode videoMode,
unsigned cropLeft, unsigned cropRight,
unsigned cropTop, unsigned cropBottom,
unsigned updateRate_Hz) :
_timer(this),
_grabber(grabWidth, grabHeight)
{

View File

@@ -9,11 +9,11 @@ class DispmanxWrapper : public QObject
{
Q_OBJECT
public:
DispmanxWrapper(const unsigned grabWidth, const unsigned grabHeight,
const VideoMode& videoMode,
const unsigned cropLeft, const unsigned cropRight,
const unsigned cropTop, const unsigned cropBottom,
const unsigned updateRate_Hz);
DispmanxWrapper(unsigned grabWidth, unsigned grabHeight,
VideoMode videoMode,
unsigned cropLeft, unsigned cropRight,
unsigned cropTop, unsigned cropBottom,
unsigned updateRate_Hz);
const Image<ColorRgb> & getScreenshot();