From: Gabriel Corona Date: Tue, 12 Jan 2016 12:58:16 +0000 (+0100) Subject: Fix aliased template parameter name X-Git-Tag: v3_13~1271 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/fadac1a01fdb1a6e786d0d170f16ffab1419f2fd?ds=sidebyside Fix aliased template parameter name This is purely stylistic. --- diff --git a/src/surf/surf_interface.hpp b/src/surf/surf_interface.hpp index c49574de4f..1f2dba54d1 100644 --- a/src/surf/surf_interface.hpp +++ b/src/surf/surf_interface.hpp @@ -33,10 +33,10 @@ namespace surf { private: sigc::signal sig_; public: - template XBT_ALWAYS_INLINE - void connect(T&& slot) + template XBT_ALWAYS_INLINE + void connect(U&& slot) { - sig_.connect(std::forward(slot)); + sig_.connect(std::forward(slot)); } template XBT_ALWAYS_INLINE void connect(Res(*slot)(Args...))