Initialization order fix.

This commit is contained in:
Andrzej Kapolka 2013-06-18 14:48:58 -07:00
parent 9cb671aa56
commit 4519b43072

View file

@ -16,7 +16,7 @@
#include "Application.h"
#include "Webcam.h"
Webcam::Webcam() : _frameTextureID(0), _frameCount(0), _startTimestamp(0) {
Webcam::Webcam() : _frameTextureID(0), _startTimestamp(0), _frameCount(0) {
// the grabber simply runs as fast as possible
_grabber = new FrameGrabber();
_grabber->moveToThread(&_grabberThread);