comparison data/model/PowerOfTwoZoomConstraint.h @ 936:0c1d6de8f44b

Merge from branch warnfix_no_size_t
author Chris Cannam
date Wed, 18 Jun 2014 13:51:16 +0100
parents 59e7fe1b1003
children d4a28d1479a8 48e9f538e6e9
comparison
equal deleted inserted replaced
917:49618f39ff09 936:0c1d6de8f44b
19 #include "base/ZoomConstraint.h" 19 #include "base/ZoomConstraint.h"
20 20
21 class PowerOfTwoZoomConstraint : virtual public ZoomConstraint 21 class PowerOfTwoZoomConstraint : virtual public ZoomConstraint
22 { 22 {
23 public: 23 public:
24 virtual size_t getNearestBlockSize(size_t requestedBlockSize, 24 virtual int getNearestBlockSize(int requestedBlockSize,
25 RoundingDirection dir = RoundNearest) 25 RoundingDirection dir = RoundNearest)
26 const; 26 const;
27 }; 27 };
28 28
29 #endif 29 #endif