Mercurial > hg > svcore
comparison base/RealTime.cpp @ 980:6e6da0636e5e tonioni
Merge from default branch
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 16:36:21 +0100 |
parents | df83865d886f |
children | ee9f4477f65b |
comparison
equal
deleted
inserted
replaced
954:35b05cac32d0 | 980:6e6da0636e5e |
---|---|
206 | 206 |
207 RealTime | 207 RealTime |
208 RealTime::fromString(std::string s) | 208 RealTime::fromString(std::string s) |
209 { | 209 { |
210 bool negative = false; | 210 bool negative = false; |
211 bool section = 0; | 211 int section = 0; |
212 std::string ssec, snsec; | 212 std::string ssec, snsec; |
213 | 213 |
214 for (size_t i = 0; i < s.length(); ++i) { | 214 for (size_t i = 0; i < s.length(); ++i) { |
215 | 215 |
216 char c = s[i]; | 216 char c = s[i]; |