Use std::forward where appropriate to forward rvalue references.
authorGeorge Kiagiadakis <kiagiadakis.george@gmail.com>
Sun, 10 Oct 2010 14:09:08 +0000 (17:09 +0300)
committerGeorge Kiagiadakis <kiagiadakis.george@gmail.com>
Sun, 10 Oct 2010 14:09:08 +0000 (17:09 +0300)
commit418698402df3d881dcf78525107535938dfc6975
tree8f10feba748d57d5d5e76187907f05e1a227e360
parentb151e28758f1f14ffd19d8f9fb39674975c5d438
Use std::forward where appropriate to forward rvalue references.

This fixes compilation with gcc 4.5, which complies better with the
upcoming c++0x standard. My previous code was obviously non-compliant.
src/QGlib/connectimpl_p.h
src/QGlib/emitimpl_p.h