util: Use the std namespace for memcpy and memset in the m5 util.
authorGabe Black <gabe.black@gmail.com>
Fri, 23 Oct 2020 03:01:10 +0000 (20:01 -0700)
committerGabe Black <gabe.black@gmail.com>
Mon, 21 Dec 2020 23:47:59 +0000 (23:47 +0000)
commitc110695a44c17f3860b3593734a97056c2872684
tree71d5a7e0079b760c4b68ae2c893057a57175776f
parent3fa1ce6d7289efb485c8d69fe33fd2c47a9f6cfe
util: Use the std namespace for memcpy and memset in the m5 util.

The C++ versions of those functions are technically in the std
namespace, and while they may work without it (the C version leaking
through from somewhere?), they should still use it.

Change-Id: Ib53a7f0c41d7f5776221e7661c616ea51e8ed528
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/31834
Tested-by: kokoro <noreply+kokoro@google.com>
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
util/m5/src/args.cc
util/m5/src/command/readfile.cc
util/m5/src/command/readfile.test.cc
util/m5/src/command/writefile.cc
util/m5/src/command/writefile.test.cc