mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +03:00
Wreorder: fix a variety of re-ordering warnings
Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
@ -38,7 +38,7 @@ using namespace std;
|
||||
(((_val) < (_min)) ? (_min) : (((_val) > (_max)) ? (_max) : (_val)))
|
||||
|
||||
VCAP::VCAP(string videoDev) :
|
||||
m_buffer(0), m_fd(-1)
|
||||
m_fd(-1), m_buffer(0)
|
||||
{
|
||||
memset(&m_caps, 0, sizeof(struct v4l2_capability));
|
||||
memset(&m_format, 0, sizeof(struct v4l2_format));
|
||||
|
@ -163,7 +163,7 @@ namespace upm {
|
||||
{
|
||||
m_debugging = enable;
|
||||
};
|
||||
|
||||
|
||||
protected:
|
||||
// open the device and check that it meats minimum requirements
|
||||
bool initVideoDevice();
|
||||
@ -180,13 +180,13 @@ namespace upm {
|
||||
|
||||
// does the actual capture
|
||||
bool doCaptureImage();
|
||||
|
||||
|
||||
private:
|
||||
// internal ioctl
|
||||
int xioctl(int fd, int request, void* argp);
|
||||
|
||||
|
||||
std::string m_videoDevice;
|
||||
|
||||
|
||||
// our file descriptor to the video device
|
||||
int m_fd;
|
||||
|
||||
@ -210,5 +210,3 @@ namespace upm {
|
||||
bool m_debugging;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user