diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-01-16 19:04:22 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-01-16 19:04:22 +0200 |
commit | 846362842c9893cdbbea1dd1f00931c50bb2df5e (patch) | |
tree | c7e91557c2349a3cbeb23053950de96185428595 /contrib/epee/include/net/levin_client.inl | |
parent | Merge pull request #4973 (diff) | |
parent | epee: better network buffer data structure (diff) | |
download | monero-846362842c9893cdbbea1dd1f00931c50bb2df5e.tar.xz |
Merge pull request #4976
85665003 epee: better network buffer data structure (moneromooo-monero)
Diffstat (limited to 'contrib/epee/include/net/levin_client.inl')
-rw-r--r-- | contrib/epee/include/net/levin_client.inl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/epee/include/net/levin_client.inl b/contrib/epee/include/net/levin_client.inl index a580e81fd..2f048b027 100644 --- a/contrib/epee/include/net/levin_client.inl +++ b/contrib/epee/include/net/levin_client.inl @@ -74,7 +74,7 @@ levin_client_impl::~levin_client_impl() } //------------------------------------------------------------------------------ inline -int levin_client_impl::invoke(int command, const std::string& in_buff, std::string& buff_out) +int levin_client_impl::invoke(int command, const epee::span<const uint8_t> in_buff, std::string& buff_out) { if(!is_connected()) return -1; @@ -133,7 +133,7 @@ int levin_client_impl::notify(int command, const std::string& in_buff) //------------------------------------------------------------------------------ //------------------------------------------------------------------------------ inline - int levin_client_impl2::invoke(int command, const std::string& in_buff, std::string& buff_out) + int levin_client_impl2::invoke(int command, epee::span<const uint8_t>string& in_buff, std::string& buff_out) { if(!is_connected()) return -1; |