Changeset - 90a919d06a77
[Not reviewed]
stream
0 1 0
Hasan Yavuz Ă–ZDERYA - 8 years ago 2017-12-13 02:32:15
hy@ozderya.net
added virtual destructor required for buffer implementations
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/framebuffer2.h
Show inline comments
 
@@ -29,12 +29,14 @@ struct Range
 
};
 

	
 
/// Abstract base class for all frame buffers.
 
class FrameBuffer
 
{
 
public:
 
    /// Placeholder virtual destructor
 
    virtual ~FrameBuffer() {};
 
    /// Returns size of the buffer.
 
    virtual unsigned size() const = 0;
 
    /// Returns a sample from given index.
 
    virtual double sample(unsigned i) const = 0;
 
    /// Returns minimum and maximum of the buffer values.
 
    virtual Range limits() const = 0;
0 comments (0 inline, 0 general)