
12 Jun
2015
12 Jun
'15
9:44 a.m.
Hello, I am using boost 1.58 and when I compile my project I have this annoying warning: Warning 4 warning C4100: 'lk' : unreferenced formal parameter C:\proj\boost\include\boost\thread\future.hpp When I look at source code I can see that lk is not used: future_state::state get_state(boost::unique_lockboost::mutex& lk) const { if(!done) { return future_state::waiting; } else { return future_state::ready; } } It would be great to fix it for the next release. Thanks