Skip to content

Commit a9c55e6

Browse files
authored
[iguana compile]fix compile for mac (#947)
1 parent 3e8a338 commit a9c55e6

File tree

1 file changed

+2
-2
lines changed
  • include/ylt/standalone/iguana/detail

1 file changed

+2
-2
lines changed

include/ylt/standalone/iguana/detail/itoa.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ struct convert {
219219
template <typename U, std::enable_if_t<!std::is_signed<U>::value &&
220220
std::is_integral<U>::value>* = nullptr>
221221
static inline char* itoa(U u, char* p) {
222-
return convert<D>::template itoa(p, u);
222+
return convert<D>::template itoa<>(p, u);
223223
}
224224

225225
// itoa: handle signed integral operands (selected by SFINAE)
@@ -257,7 +257,7 @@ struct convert {
257257
*p = '-';
258258
p += (mask & 1);
259259
}
260-
p = convert<D>::template itoa(p, u);
260+
p = convert<D>::template itoa<>(p, u);
261261
if (D == Rev && mask)
262262
*--p = '-';
263263
return p;

0 commit comments

Comments
 (0)