Mercurial > hg > svcore
comparison data/model/PowerOfSqrtTwoZoomConstraint.cpp @ 843:e802e550a1f2
Drop std:: from cout, cerr, endl -- pull these in through Debug.h
author | Chris Cannam |
---|---|
date | Tue, 26 Nov 2013 13:35:08 +0000 |
parents | 1424aa29ae95 |
children | 59e7fe1b1003 |
comparison
equal
deleted
inserted
replaced
842:23d3a6eca5c3 | 843:e802e550a1f2 |
---|---|
32 PowerOfSqrtTwoZoomConstraint::getNearestBlockSize(size_t blockSize, | 32 PowerOfSqrtTwoZoomConstraint::getNearestBlockSize(size_t blockSize, |
33 int &type, | 33 int &type, |
34 int &power, | 34 int &power, |
35 RoundingDirection dir) const | 35 RoundingDirection dir) const |
36 { | 36 { |
37 // std::cerr << "given " << blockSize << std::endl; | 37 // cerr << "given " << blockSize << endl; |
38 | 38 |
39 size_t minCachePower = getMinCachePower(); | 39 size_t minCachePower = getMinCachePower(); |
40 | 40 |
41 if (blockSize < (1U << minCachePower)) { | 41 if (blockSize < (1U << minCachePower)) { |
42 type = -1; | 42 type = -1; |