Mercurial > hg > svcore
comparison base/RealTime.cpp @ 399:0f0f08c22552
...
author | Chris Cannam |
---|---|
date | Fri, 28 Mar 2008 17:51:13 +0000 |
parents | a38cd7823cb2 |
children | 65311fb86166 |
comparison
equal
deleted
inserted
replaced
398:be49bf95d4a5 | 399:0f0f08c22552 |
---|---|
159 | 159 |
160 int sec = atoi(ssec.c_str()); | 160 int sec = atoi(ssec.c_str()); |
161 int nsec = atoi(snsec.c_str()); | 161 int nsec = atoi(snsec.c_str()); |
162 if (negative) sec = -sec; | 162 if (negative) sec = -sec; |
163 | 163 |
164 std::cerr << "RealTime::fromString: string " << s << " -> " | 164 // std::cerr << "RealTime::fromString: string " << s << " -> " |
165 << sec << " sec, " << nsec << " nsec" << std::endl; | 165 // << sec << " sec, " << nsec << " nsec" << std::endl; |
166 | 166 |
167 return RealTime(sec, nsec); | 167 return RealTime(sec, nsec); |
168 } | 168 } |
169 | 169 |
170 std::string | 170 std::string |