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

@@ -36,7 +36,7 @@ void QtWrapper::capture()
emit sig_screenshot(_screenshot);
}
void QtWrapper::setVideoMode(const VideoMode mode)
void QtWrapper::setVideoMode(VideoMode mode)
{
_grabber.setVideoMode(mode);
}

View File

@@ -32,7 +32,7 @@ public slots:
/// Set the video mode (2D/3D)
/// @param[in] mode The new video mode
///
void setVideoMode(const VideoMode videoMode);
void setVideoMode(VideoMode videoMode);
private slots:
///