diff options
author | Ed Tanous <ed.tanous@intel.com> | 2019-07-09 16:24:22 -0700 |
---|---|---|
committer | Ed Tanous <ed.tanous@intel.com> | 2019-10-10 23:25:26 +0000 |
commit | 271584ab78b4c1926f766aa26ddfde7da329059f (patch) | |
tree | 08001912ea542de88b9c31f5d53f195dedd56988 /include/kvm_websocket.hpp | |
parent | 70ee8cbd4f3ec5b3e3c18967de221a9f3a70cd38 (diff) | |
download | bmcweb-271584ab78b4c1926f766aa26ddfde7da329059f.tar.gz bmcweb-271584ab78b4c1926f766aa26ddfde7da329059f.zip |
Fix a bunch of warnings
using the list of warnings from here:
https://github.com/lefticus/cppbestpractices/blob/e73393f25a85f83fed7399d8b65cb117d00b2231/02-Use_the_Tools_Available.md#L100
Seems like a good place to start, and would improve things a bit
type-wise. This patchset attempts to correct all the issues in one
shot.
Tested:
It builds. Will test various subsystems that have been touched
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Change-Id: I588c26440e5a97f718a0f0ea74cc84107d53aa1e
Diffstat (limited to 'include/kvm_websocket.hpp')
-rw-r--r-- | include/kvm_websocket.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kvm_websocket.hpp b/include/kvm_websocket.hpp index db42ab8..9fc3926 100644 --- a/include/kvm_websocket.hpp +++ b/include/kvm_websocket.hpp @@ -17,7 +17,7 @@ class KvmSession { public: explicit KvmSession(crow::websocket::Connection& conn) : - conn(conn), doingWrite(false), hostSocket(conn.get_io_context()) + conn(conn), hostSocket(conn.get_io_context()), doingWrite(false) { boost::asio::ip::tcp::endpoint endpoint( boost::asio::ip::make_address("::1"), 5900); |