Fix unused-parameter warning

Boost bug report:
https://svn.boost.org/trac/boost/ticket/7628