aewallin/opencamlib — pull request #4 by sveitser (2012-09-19 17:13:57+00:00)
Title: Add virtual destructor to span class

Without virtual destructor gcc 4.7.1 (on arch linux) raises delete-non-virtual-dtor error during compilation:

```
/tmp/packerbuild-1000/opencamlib-svn/opencamlib-svn/src/opencamlib/src/algo/adaptivewaterline.cpp: In member function ‘void ocl::AdaptiveWaterline::adaptive_sampling_run()’:
/tmp/packerbuild-1000/opencamlib-svn/opencamlib-svn/src/opencamlib/src/algo/adaptivewaterline.cpp:123:12: error: deleting object of abstract class type ‘ocl::Span’ which has non-virtual destructor will cause undefined behaviour [-Werror=delete-non-virtual-dtor]
```

I don't know if this is a proper fix and I have yet to use ocl but it allows me to build.