mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Pass primitive types by value (#935)
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// Hyperion-AmLogic includes
|
||||
#include "OsxWrapper.h"
|
||||
|
||||
OsxWrapper::OsxWrapper(const unsigned display, const unsigned grabWidth, const unsigned grabHeight, const unsigned updateRate_Hz) :
|
||||
OsxWrapper::OsxWrapper(unsigned display, unsigned grabWidth, unsigned grabHeight, unsigned updateRate_Hz) :
|
||||
_timer(this),
|
||||
_grabber(display,grabWidth, grabHeight)
|
||||
{
|
||||
|
@@ -9,7 +9,7 @@ class OsxWrapper : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
OsxWrapper(const unsigned display, const unsigned grabWidth, const unsigned grabHeight, const unsigned updateRate_Hz);
|
||||
OsxWrapper(unsigned display, unsigned grabWidth, unsigned grabHeight, unsigned updateRate_Hz);
|
||||
|
||||
const Image<ColorRgb> & getScreenshot();
|
||||
|
||||
|
Reference in New Issue
Block a user