Skip to content

Commit

Permalink
wrappers/cpp: Remove pureness from virtual callbacks - fixes #286
Browse files Browse the repository at this point in the history
Signed-off-by: Benn Snyder <benn.snyder@gmail.com>
  • Loading branch information
piedar committed Jan 18, 2014
1 parent e26a7ea commit a1b8a26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wrappers/cpp/libfreenect.hpp
Expand Up @@ -138,9 +138,9 @@ namespace Freenect {
return m_dev;
}
// Do not call directly even in child
virtual void VideoCallback(void *video, uint32_t timestamp) = 0;
virtual void VideoCallback(void *video, uint32_t timestamp) { }
// Do not call directly even in child
virtual void DepthCallback(void *depth, uint32_t timestamp) = 0;
virtual void DepthCallback(void *depth, uint32_t timestamp) { }
protected:
int getVideoBufferSize(){
switch(m_video_format) {
Expand Down

0 comments on commit a1b8a26

Please sign in to comment.