Clang says I was using a c++11 feature without meaning to.

It doesn't hurt anything to make the code backward compatible, so doing that.
This commit is contained in:
Arthur Moore 2015-03-11 00:53:20 -04:00
parent d99181acf9
commit 34bd14628c
2 changed files with 8 additions and 8 deletions

View File

@ -45,9 +45,9 @@ public:
class SmartIB : public interframe_filter class SmartIB : public interframe_filter
{ {
private: private:
u32 *frm1 = NULL; u32 *frm1;
u32 *frm2 = NULL; u32 *frm2;
u32 *frm3 = NULL; u32 *frm3;
public: public:
SmartIB(); SmartIB();
~SmartIB(); ~SmartIB();
@ -59,9 +59,9 @@ public:
class MotionBlurIB : public interframe_filter class MotionBlurIB : public interframe_filter
{ {
private: private:
u32 *frm1 = NULL; u32 *frm1;
u32 *frm2 = NULL; u32 *frm2;
u32 *frm3 = NULL; u32 *frm3;
public: public:
MotionBlurIB(); MotionBlurIB();
~MotionBlurIB(); ~MotionBlurIB();

View File

@ -476,8 +476,8 @@ public:
protected: protected:
virtual void DrawArea(wxWindowDC&) = 0; virtual void DrawArea(wxWindowDC&) = 0;
virtual void DrawOSD(wxWindowDC&); virtual void DrawOSD(wxWindowDC&);
filter * myFilter = NULL; filter * myFilter;
interframe_filter * iFilter = NULL; interframe_filter * iFilter;
int width, height, scale; int width, height, scale;
u8 *todraw; u8 *todraw;
u8 *pixbuf1, *pixbuf2; u8 *pixbuf1, *pixbuf2;