From 8f80d3e7be102080eecdedc3d18ec7fc1b53eb27 Mon Sep 17 00:00:00 2001 From: Gabriel Corona Date: Tue, 12 Jan 2016 13:58:41 +0100 Subject: [PATCH] Add missing XBT_ALWAYS_INLINE "Yes, you can be XBT_ALWAYS_INLINE too." --- src/surf/surf_interface.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)...); -- 2.20.1