fix member order createion/initialization

pull/33/head
MPR 10 years ago
parent 2ead84185f
commit 7951ba51c0

@ -22,13 +22,13 @@
// ---------------------------------
struct V4L2DeviceParameters
{
V4L2DeviceParameters(const char* devname, int format, int width, int height, int fps, int verbose) :
V4L2DeviceParameters(const char* devname, unsigned int format, unsigned int width, unsigned int height, int fps, int verbose) :
m_devName(devname), m_format(format), m_width(width), m_height(height), m_fps(fps), m_verbose(verbose) {};
std::string m_devName;
int m_width;
int m_height;
int m_format;
unsigned int m_format;
unsigned int m_width;
unsigned int m_height;
int m_fps;
int m_verbose;
};
@ -67,4 +67,4 @@ class V4L2Device
int m_bufferSize;
};
#endif
#endif

Loading…
Cancel
Save