Fix warnings

This commit is contained in:
Ties Jan Hefting authored and Vinnie Falco committed 2016-08-12 21:02:39 -04:00
1 parent 8204d9524e
commit 1537527927
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -110,7 +110,7 @@ is_valid(close_code::value code)
if(v >= 1016 && v <= 2999)
return false;
// not used
if(v >= 0 && v <= 999)
if(v <= 999)
return false;
return true;
}
+1 -1
View File
@@ -51,7 +51,7 @@ teardown(teardown_tag, Socket& socket, error_code& ec)
*/
static_assert(sizeof(Socket)==-1,
"Unknown Socket type in teardown.");
};
}
/** Start tearing down a connection.