diff --git a/modules/beast_core/native/beast_mac_Network.mm b/modules/beast_core/native/beast_mac_Network.mm index 732956180..ddba3b886 100644 --- a/modules/beast_core/native/beast_mac_Network.mm +++ b/modules/beast_core/native/beast_mac_Network.mm @@ -221,7 +221,7 @@ public: signalThreadShouldExit(); } - void run() + void run() override { connection = [[NSURLConnection alloc] initWithRequest: request delegate: delegate]; diff --git a/modules/beast_core/threads/beast_ThreadPool.cpp b/modules/beast_core/threads/beast_ThreadPool.cpp index a7247ef95..c59e1550b 100644 --- a/modules/beast_core/threads/beast_ThreadPool.cpp +++ b/modules/beast_core/threads/beast_ThreadPool.cpp @@ -62,7 +62,7 @@ public: { } - void run() + void run() override { while (! threadShouldExit()) { diff --git a/modules/beast_core/threads/beast_TimeSliceThread.h b/modules/beast_core/threads/beast_TimeSliceThread.h index eddba2e6e..fb783d233 100644 --- a/modules/beast_core/threads/beast_TimeSliceThread.h +++ b/modules/beast_core/threads/beast_TimeSliceThread.h @@ -129,7 +129,7 @@ public: //============================================================================== #ifndef DOXYGEN - void run(); + void run() override; #endif //==============================================================================