From: Arnaud Giersch Date: Sat, 28 Oct 2017 20:46:33 +0000 (+0200) Subject: Use "using" to import method from base class. X-Git-Tag: v3.18~357 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/de0f6810fd81d481ea3f0b943b759d9581fbbc88 Use "using" to import method from base class. --- diff --git a/src/mc/remote/RemoteClient.hpp b/src/mc/remote/RemoteClient.hpp index 3f99f0e10c..1f3809efb5 100644 --- a/src/mc/remote/RemoteClient.hpp +++ b/src/mc/remote/RemoteClient.hpp @@ -122,10 +122,7 @@ public: } std::string read_string(RemotePtr address) const; - std::string read_string(RemotePtr address, std::size_t len) const - { - return AddressSpace::read_string(address, len); - } + using AddressSpace::read_string; // Write memory: void write_bytes(const void* buffer, size_t len, RemotePtr address);