Skip to content

Commit 8fe595f

Browse files
committed
Fix compilation error in example
Closes: #1191
1 parent 6e1b6f8 commit 8fe595f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/modules/ROOT/pages/charconv.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ int main()
190190
191191
decimal32_t val {5, -1};
192192
193-
char buffer[limits<T>::max_chars];
193+
char buffer[limits<decimal32_t>::max_chars];
194194
195195
auto r_to = to_chars(buffer, buffer + sizeof(buffer), val);
196196
*r_to.ptr = '\0';

0 commit comments

Comments
 (0)