Commit ec70ae90 authored by Dominik Charousset's avatar Dominik Charousset

Fix warnings on Clang under OSX

parent f4af07aa
......@@ -92,6 +92,7 @@
_Pragma("clang diagnostic ignored \"-Wused-but-marked-unused\"") \
_Pragma("clang diagnostic ignored \"-Wdisabled-macro-expansion\"") \
_Pragma("clang diagnostic ignored \"-Wunreachable-code\"") \
_Pragma("clang diagnostic ignored \"-Wreserved-id-macro\"") \
_Pragma("clang diagnostic ignored \"-Wsign-conversion\"")
# define CAF_PUSH_NON_VIRTUAL_DTOR_WARNING \
_Pragma("clang diagnostic push") \
......@@ -150,7 +151,7 @@
# define CAF_IOS
# else
# define CAF_MACOS
# ifndef _GLIBCXX_HAS_GTHREADS
# if defined(CAF_GCC) && ! defined(_GLIBCXX_HAS_GTHREADS)
# define _GLIBCXX_HAS_GTHREADS
# endif
# endif
......
......@@ -135,7 +135,7 @@ public:
// nop
}
void on_exit() {
void on_exit() override {
CAF_LOG_TRACE("");
broker_ = invalid_actor;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment