Mercurial > hg > audiodb
comparison accumulator_test.cpp @ 420:580f696c817c api-inversion
Split up accumulator.h into multiple files
One benefit is the sanity-preserving side-effect of only one class per
file; the main reason, though, is so that we can include accumulator.h
(the abstract base class) in more than one project file.
author | mas01cr |
---|---|
date | Wed, 24 Dec 2008 10:54:55 +0000 |
parents | 6e6f4c1cc14d |
children | 166312a124bc |
comparison
equal
deleted
inserted
replaced
419:f3b5d8aebd17 | 420:580f696c817c |
---|---|
1 #include "accumulator.h" | 1 #include "accumulators.h" |
2 | 2 |
3 static NearestAccumulator<adb_result_dist_lt> *foo = new NearestAccumulator<adb_result_dist_lt>(); | 3 static NearestAccumulator<adb_result_dist_lt> *foo = new NearestAccumulator<adb_result_dist_lt>(); |
4 | 4 |
5 int main() { | 5 int main() { |
6 adb_result_t r; | 6 adb_result_t r; |