testStelSphericalIndex.cpp   testStelSphericalIndex.cpp 
skipping to change at line 46 skipping to change at line 46
SphericalRegionP region; SphericalRegionP region;
}; };
void TestStelSphericalIndex::initTestCase() void TestStelSphericalIndex::initTestCase()
{ {
} }
struct CountFuncObject struct CountFuncObject
{ {
CountFuncObject() : count(0) {;} CountFuncObject() : count(0) {;}
void operator()(const StelRegionObjectP& obj) void operator()(const StelRegionObject* /* obj */)
{ {
count++; count++;
} }
int count; int count;
}; };
void TestStelSphericalIndex::testBase() void TestStelSphericalIndex::testBase()
{ {
StelSphericalIndex grid(10); StelSphericalIndex grid(10);
grid.insert(StelRegionObjectP(new TestRegionObject(SphericalRegionP( new SphericalCap(Vec3d(1,0,0), 0.9))))); grid.insert(StelRegionObjectP(new TestRegionObject(SphericalRegionP( new SphericalCap(Vec3d(1,0,0), 0.9)))));
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/