Browse Source

Move `SurfaceManager` variable initialization to constructor body

Because sticking to this kind of convention is so much more readable.
master
Krisjanis Rijnieks 10 years ago
parent
commit
26e89f11a7
  1. 7
      src/Surfaces/SurfaceManager.cpp

7
src/Surfaces/SurfaceManager.cpp

@ -3,9 +3,10 @@
namespace ofx {
namespace piMapper {
SurfaceManager::SurfaceManager() :
mediaServer(0),
selectedSurface(0){}
SurfaceManager::SurfaceManager(){
mediaServer = 0;
selectedSurface = 0;
}
SurfaceManager::~SurfaceManager(){
clear();

Loading…
Cancel
Save