OLD | NEW |
1 #include <cstdio> | 1 #include <cstdio> |
2 | 2 |
3 #include "ActiveFilter.h" | 3 #include "ActiveFilter.h" |
4 #include "StringScanner.h" | 4 #include "../StringScanner.h" |
5 | 5 |
6 static const DependentString DEFAULT_DOMAIN(u""_str); | 6 static const DependentString DEFAULT_DOMAIN(u""_str); |
7 | 7 |
8 namespace | 8 namespace |
9 { | 9 { |
10 OwnedString to_string(unsigned int i) | 10 OwnedString to_string(unsigned int i) |
11 { | 11 { |
12 char buffer[11]; | 12 char buffer[11]; |
13 int len = sprintf(buffer, "%u", i); | 13 int len = sprintf(buffer, "%u", i); |
14 | 14 |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 result.append(u'\n'); | 181 result.append(u'\n'); |
182 } | 182 } |
183 if (mLastHit) | 183 if (mLastHit) |
184 { | 184 { |
185 result.append(u"lastHit="_str); | 185 result.append(u"lastHit="_str); |
186 result.append(to_string(mLastHit)); | 186 result.append(to_string(mLastHit)); |
187 result.append(u'\n'); | 187 result.append(u'\n'); |
188 } | 188 } |
189 return result; | 189 return result; |
190 } | 190 } |
OLD | NEW |