diff options
author | Jack Lloyd <[email protected]> | 2019-05-24 05:12:55 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2019-05-24 05:12:55 -0400 |
commit | 25bf95637449335be943d9479f40ab9bc79aec6f (patch) | |
tree | cebcb70ee9b81e4d082925756c5e0c6b074320cd /src/bogo_shim | |
parent | cd898c69aeb638a059a00689f25dc0396a4bdd38 (diff) |
Build fix
Diffstat (limited to 'src/bogo_shim')
-rw-r--r-- | src/bogo_shim/bogo_shim.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bogo_shim/bogo_shim.cpp b/src/bogo_shim/bogo_shim.cpp index e02a1f691..69a8e61fe 100644 --- a/src/bogo_shim/bogo_shim.cpp +++ b/src/bogo_shim/bogo_shim.cpp @@ -210,7 +210,7 @@ class Shim_Exception final : public std::exception Shim_Exception(const std::string& msg, int rc = 1) : m_msg(msg), m_rc(rc) {} - const char* what() const noexcept { return m_msg.c_str(); } + const char* what() const noexcept override { return m_msg.c_str(); } int rc() const { return m_rc; } private: @@ -1572,7 +1572,7 @@ int main(int /*argc*/, char* argv[]) if(buf.size() < packet_len) buf.resize(packet_len); - shim.read_exactly(buf.data(), packet_len); + socket.read_exactly(buf.data(), packet_len); chan->received_data(buf.data(), packet_len); } |