commit | 36f5ca535d0cffb4d9767f4471ac632dddd94c3b | [log] [tgz] |
---|---|---|
author | Tom Tromey <tromey@adacore.com> | Thu Feb 03 12:24:12 2022 -0700 |
committer | Tom Tromey <tromey@adacore.com> | Mon Mar 07 07:52:59 2022 -0700 |
tree | 39057d90ece16a147883629e2f6e113d0d4798c9 | |
parent | a320f135ddb4726474394841a19f3e2cba216ff3 [diff] |
Don't pre-size result string in ada_decode Currently, ada_decode pre-sizes the output string, filling it with 'X' characters. However, it's a bit simpler and more flexible to let std::string do the work here, and simply append characters to the string as we go. This turns out to be useful for a subsequent patch.