Skip to content

Commit a1b8a26

Browse files
committed
wrappers/cpp: Remove pureness from virtual callbacks - fixes #286
Signed-off-by: Benn Snyder <[email protected]>
1 parent e26a7ea commit a1b8a26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wrappers/cpp/libfreenect.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,9 @@ namespace Freenect {
138138
return m_dev;
139139
}
140140
// Do not call directly even in child
141-
virtual void VideoCallback(void *video, uint32_t timestamp) = 0;
141+
virtual void VideoCallback(void *video, uint32_t timestamp) { }
142142
// Do not call directly even in child
143-
virtual void DepthCallback(void *depth, uint32_t timestamp) = 0;
143+
virtual void DepthCallback(void *depth, uint32_t timestamp) { }
144144
protected:
145145
int getVideoBufferSize(){
146146
switch(m_video_format) {

0 commit comments

Comments
 (0)