From d6c9905e80104055704df50e8ca4b23b1f5fa161 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Tue, 7 Oct 2014 10:16:28 -0400 Subject: [PATCH] fixes another shadowing warning --- test/transport/iostream/connection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/transport/iostream/connection.cpp b/test/transport/iostream/connection.cpp index 8edad31aa8..d2d125d999 100644 --- a/test/transport/iostream/connection.cpp +++ b/test/transport/iostream/connection.cpp @@ -135,9 +135,9 @@ struct stub_con : public iostream_con { ); } - void handle_indef(websocketpp::lib::error_code const & e, size_t read) { + void handle_indef(websocketpp::lib::error_code const & e, size_t amt_read) { ec = e; - indef_read_total += read; + indef_read_total += amt_read; indef_read(); }