From: Gabriel Corona Date: Tue, 12 Jan 2016 12:58:41 +0000 (+0100) Subject: Add missing XBT_ALWAYS_INLINE X-Git-Tag: v3_13~1270 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/8f80d3e7be102080eecdedc3d18ec7fc1b53eb27 Add missing XBT_ALWAYS_INLINE "Yes, you can be XBT_ALWAYS_INLINE too." --- diff --git a/src/surf/surf_interface.hpp b/src/surf/surf_interface.hpp index 1f2dba54d1..ea0d647085 100644 --- a/src/surf/surf_interface.hpp +++ b/src/surf/surf_interface.hpp @@ -43,7 +43,7 @@ namespace surf { { sig_.connect(sigc::ptr_fun(slot)); } - template + template XBT_ALWAYS_INLINE R operator()(Args&&... args) const { return sig_.emit(std::forward(args)...);