Mercurial > hg > svcore
comparison base/RealTime.cpp @ 808:67003fb58ba4
Merge from branch "qt5". This revision actually builds with Qt4 (late releases) or Qt5, though it will warn on configure with Qt4.
author | Chris Cannam |
---|---|
date | Tue, 14 May 2013 12:36:05 +0100 |
parents | 335c3f922327 |
children | e802e550a1f2 |
comparison
equal
deleted
inserted
replaced
798:fea591a66e5d | 808:67003fb58ba4 |
---|---|
339 div *= 10; | 339 div *= 10; |
340 } | 340 } |
341 | 341 |
342 out << ":"; | 342 out << ":"; |
343 | 343 |
344 std::cerr << "div = " << div << ", f = "<< f << std::endl; | 344 // std::cerr << "div = " << div << ", f = "<< f << std::endl; |
345 | 345 |
346 while (div) { | 346 while (div) { |
347 int d = (f / div) % 10; | 347 int d = (f / div) % 10; |
348 out << d; | 348 out << d; |
349 div /= 10; | 349 div /= 10; |
350 } | 350 } |
351 | 351 |
352 std::string s = out.str(); | 352 std::string s = out.str(); |
353 | 353 |
354 std::cerr << "converted " << toString() << " to " << s << std::endl; | 354 // std::cerr << "converted " << toString() << " to " << s << std::endl; |
355 | 355 |
356 return s; | 356 return s; |
357 } | 357 } |
358 | 358 |
359 std::string | 359 std::string |