Opened 8 years ago
#10329 new Bugs
Examples declare unused variable 'sefl'
Reported by: | Owned by: | chris_kohlhoff | |
---|---|---|---|
Milestone: | To Be Determined | Component: | asio |
Version: | Boost 1.56.0 | Severity: | Cosmetic |
Keywords: | Cc: |
Description
C++11 example:
http://www.boost.org/doc/libs/1_56_0/doc/html/boost_asio/example/cpp11/http/server/connection.cpp
declares a variable 'self' as shared_from_this() but never uses it. Inside the lambda, shared_from_this() is used directly.
Note:
See TracTickets
for help on using tickets.