summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2018-07-19 10:57:48 -0700
committerWilliam A. Kennington III <wak@google.com>2018-07-19 17:16:42 -0700
commit00ede16c02ae55ecf27c4546bc82b85641058f9b (patch)
tree89ec7db4fdf5a580757a944a42cd9d5b4e1fcde4 /src
parente0f1d199e0defcab9ded6043e77aa5db244a3247 (diff)
downloadsdeventplus-00ede16c02ae55ecf27c4546bc82b85641058f9b.tar.gz
sdeventplus-00ede16c02ae55ecf27c4546bc82b85641058f9b.zip
utils: Fix type of performCallback
Diffstat (limited to 'src')
-rw-r--r--src/sdeventplus/internal/utils.hpp2
1 files changed, 1 insertions, 1 deletions
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 <typename Func, typename... Args>
-static int performCallback(const char* name, Func func, Args... args)
+inline int performCallback(const char* name, Func func, Args... args)
{
try
{
OpenPOWER on IntegriCloud