From 94e96322340e8852889fdcdc7d1a0beca34b2891 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Mon, 24 Jun 2013 15:50:14 -0700 Subject: [PATCH] Add override specifier to some Beast functions --- modules/beast_core/native/beast_mac_Network.mm | 2 +- modules/beast_core/threads/beast_ThreadPool.cpp | 2 +- modules/beast_core/threads/beast_TimeSliceThread.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 //==============================================================================