diff options
| author | William A. Kennington III <wak@google.com> | 2018-07-19 10:57:48 -0700 |
|---|---|---|
| committer | William A. Kennington III <wak@google.com> | 2018-07-19 17:16:42 -0700 |
| commit | 00ede16c02ae55ecf27c4546bc82b85641058f9b (patch) | |
| tree | 89ec7db4fdf5a580757a944a42cd9d5b4e1fcde4 /src | |
| parent | e0f1d199e0defcab9ded6043e77aa5db244a3247 (diff) | |
| download | sdeventplus-00ede16c02ae55ecf27c4546bc82b85641058f9b.tar.gz sdeventplus-00ede16c02ae55ecf27c4546bc82b85641058f9b.zip | |
utils: Fix type of performCallback
Diffstat (limited to 'src')
| -rw-r--r-- | src/sdeventplus/internal/utils.hpp | 2 |
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 { |

