From 9bc96bc55882dfb46e57dc816840ff30ff6d5691 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Fri, 16 Aug 2013 10:43:31 -0700 Subject: [PATCH] Fix missing return value --- .../modules/beast_asio/protocol/beast_HandshakeDetectorType.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Subtrees/beast/modules/beast_asio/protocol/beast_HandshakeDetectorType.h b/Subtrees/beast/modules/beast_asio/protocol/beast_HandshakeDetectorType.h index 037a720a74..5d5a3f4293 100644 --- a/Subtrees/beast/modules/beast_asio/protocol/beast_HandshakeDetectorType.h +++ b/Subtrees/beast/modules/beast_asio/protocol/beast_HandshakeDetectorType.h @@ -145,7 +145,7 @@ protected: //static_bassert (std::is_integral ::value); IntegerType networkValue; if (! read (&networkValue)) - return; + return false; *value = fromNetworkByteOrder (networkValue); return true; }