Opened 7 years ago
Closed 7 years ago
#11770 closed Bugs (fixed)
thread/detail/invoker.hpp: missing return statement at end of non-void function operator=()
Reported by: | Owned by: | viboes | |
---|---|---|---|
Milestone: | Boost 1.60.0 | Component: | thread |
Version: | Boost 1.59.0 | Severity: | Problem |
Keywords: | Cc: |
Description
I'm using the latest Intel compiler with the flags
- -std=c++11
- -Wall
- -early-template-check
Compiling any code including <boost/thread.hpp> results in the following warning:
In file included from /boost/thread/future.hpp(20), from /boost/thread.hpp(24), from thread.cc(1): /boost/thread/detail/invoker.hpp(76): warning #1011: missing return statement at end of non-void function "boost::detail::invoker<Fp, Args...>::operator=(boost::detail::invoker<Fp, Args...> &&)" } ^
I am not familiar with the particular purpose of this class, but might a simple
return *this;
help?
Change History (5)
comment:1 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 7 years ago
Milestone: | To Be Determined → Boost 1.60.0 |
---|
comment:5 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
https://github.com/boostorg/thread/commit/c0317c5206fc377369855f8a56cddc1955d3f71c