From de0f6810fd81d481ea3f0b943b759d9581fbbc88 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Sat, 28 Oct 2017 22:46:33 +0200 Subject: [PATCH] Use "using" to import method from base class. --- src/mc/remote/RemoteClient.hpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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); -- 2.20.1