Mercurial > hg > audiodb
view ReporterBase.h @ 397:fb633cac9c3a api-inversion
Don't divide by zero.
This didn't show up in the default build, but if you take out the -O3
my system starts exiting with floating point errors. Neat.
author | mas01cr |
---|---|
date | Thu, 27 Nov 2008 15:19:45 +0000 |
parents | d9a88cfd4ab6 |
children | d3afc91d205d |
line wrap: on
line source
#ifndef __REPORTERBASE_H #define __REPORTERBASE_H class ReporterBase { public: virtual ~ReporterBase(){}; virtual void add_point(unsigned int trackID, unsigned int qpos, unsigned int spos, double dist) = 0; virtual void report(char*,void*) = 0; }; #endif