diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2017-10-24 18:34:41 +0200 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2017-10-24 18:34:41 +0200 |
commit | 09a7c6aa7a07f874f5357cde62b5753a10a5e107 (patch) | |
tree | 5a7fdacebb14b020377d9fe8443b477223aa8e2f /gdb/dfp.c | |
parent | 8ba0dd515c1ba23318f28c6bb04c9da573855b50 (diff) | |
download | gdb-09a7c6aa7a07f874f5357cde62b5753a10a5e107.zip gdb-09a7c6aa7a07f874f5357cde62b5753a10a5e107.tar.gz gdb-09a7c6aa7a07f874f5357cde62b5753a10a5e107.tar.bz2 |
Use const reference for decimal_from_string argument
No functional change.
gdb/ChangeLog:
2017-10-24 Ulrich Weigand <uweigand@de.ibm.com>
* dfp.h (decimal_from_string): Use const reference for argument.
* dfp.c (decimal_from_string): Likewise.
Diffstat (limited to 'gdb/dfp.c')
-rw-r--r-- | gdb/dfp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -190,7 +190,7 @@ decimal_to_string (const gdb_byte *decbytes, int len, decimal64 and 16 bytes for decimal128. */ bool decimal_from_string (gdb_byte *decbytes, int len, enum bfd_endian byte_order, - std::string string) + const std::string &string) { decContext set; gdb_byte dec[16]; |