From 00ede16c02ae55ecf27c4546bc82b85641058f9b Mon Sep 17 00:00:00 2001 From: "William A. Kennington III" Date: Thu, 19 Jul 2018 10:57:48 -0700 Subject: utils: Fix type of performCallback --- src/sdeventplus/internal/utils.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/sdeventplus/internal/utils.hpp b/src/sdeventplus/internal/utils.hpp index 17e8cee..47a019b 100644 --- a/src/sdeventplus/internal/utils.hpp +++ b/src/sdeventplus/internal/utils.hpp @@ -19,7 +19,7 @@ namespace internal // Helpers for sd_event callbacks to handle exceptions gracefully template -static int performCallback(const char* name, Func func, Args... args) +inline int performCallback(const char* name, Func func, Args... args) { try { -- cgit v1.2.3