Fix a compilation error when using clang++
authorAntonio Ospite <ao2@ao2.it>
Thu, 22 Oct 2015 09:11:37 +0000 (11:11 +0200)
committerAntonio Ospite <ao2@ao2.it>
Thu, 22 Oct 2015 09:11:37 +0000 (11:11 +0200)
commit2e62298e66cca8f5432b7086feac031e4a600e6b
treed48a45d6a08baffce3d228f654a3a68c4f837561
parenta089660fff6dca996af8fcf584f58864446d746a
Fix a compilation error when using clang++

Clang gives this error:

  In file included from opencv_trail_effect.cpp:25:
  ./Trail.hpp:13:22: error: in-class initialization of non-static data member is a C++11 extension [-Werror,-Wc++11-extensions]
          cv::Mat *background = NULL;
                              ^
  1 error generated.
  <builtin>: recipe for target 'opencv_trail_effect.o' failed
  make: *** [opencv_trail_effect.o] Error 1

Fix it to make compilation succeed.
Trail.hpp