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

@@ -41,7 +41,7 @@ void X11Wrapper::capture()
_inited = true;
}
void X11Wrapper::setVideoMode(const VideoMode mode)
void X11Wrapper::setVideoMode(VideoMode mode)
{
_grabber.setVideoMode(mode);
}

View File

@@ -34,7 +34,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:
///