Changes in src/unittests/CacheableTest.cpp [ead4e6:9b6b2f]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/unittests/CacheableTest.cpp
read4e6 r9b6b2f 27 27 class threeNumbers : public Observable { 28 28 public: 29 bool hasRecalced; 29 30 int x; 30 31 int y; 31 32 int z; 32 Cacheable<int> sum;33 bool hasRecalced;34 33 35 34 void setX(int _x){ … … 55 54 56 55 threeNumbers(int _x,int _y, int _z) : 56 sum(this,boost::bind(&threeNumbers::calcSum,this)), 57 57 x(_x),y(_y),z(_z), 58 sum(this,boost::bind(&threeNumbers::calcSum,this)),59 58 hasRecalced(false) 60 59 {} 60 61 Cacheable<int> sum; 61 62 }; 62 63
Note:
See TracChangeset
for help on using the changeset viewer.