Wreorder: fix a variety of re-ordering warnings

Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
Jon Trulson
2016-11-03 11:56:48 -06:00
parent d33e7e532e
commit 0589f445f0
14 changed files with 51 additions and 54 deletions

View File

@ -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));

View File

@ -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;
};
}