summaryrefslogtreecommitdiffstats
path: root/src/OSSupport
diff options
context:
space:
mode:
authorSamuel Barney <samjbarney@gmail.com>2014-08-21 21:37:41 +0200
committerSamuel Barney <samjbarney@gmail.com>2014-08-21 21:37:41 +0200
commit6db727c60c01264dc9a9c209c5b335da8f53cd64 (patch)
tree1ec865e37c74c571de0bc7249d1b5f17dd8f5a1c /src/OSSupport
parentcommented out unused functions (diff)
downloadcuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.tar
cuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.tar.gz
cuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.tar.bz2
cuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.tar.lz
cuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.tar.xz
cuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.tar.zst
cuberite-6db727c60c01264dc9a9c209c5b335da8f53cd64.zip
Diffstat (limited to 'src/OSSupport')
-rw-r--r--src/OSSupport/IsThread.h4
-rw-r--r--src/OSSupport/ListenThread.h4
-rw-r--r--src/OSSupport/SocketThreads.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/OSSupport/IsThread.h b/src/OSSupport/IsThread.h
index c20fc3e7e..2b9b2ae4b 100644
--- a/src/OSSupport/IsThread.h
+++ b/src/OSSupport/IsThread.h
@@ -7,7 +7,7 @@
/*
Usage:
To have a new thread, declare a class descending from cIsClass.
-Then override its Execute() method to provide your thread processing.
+Then /*override*/ its Execute() method to provide your thread processing.
In the descending class' constructor call the Start() method to start the thread once you're finished with initialization.
*/
@@ -29,7 +29,7 @@ protected:
/// This is the main thread entrypoint
virtual void Execute(void) = 0;
- /// The overriden Execute() method should check this value periodically and terminate if this is true
+ /// The /*override*/n Execute() method should check this value periodically and terminate if this is true
volatile bool m_ShouldTerminate;
public:
diff --git a/src/OSSupport/ListenThread.h b/src/OSSupport/ListenThread.h
index b2d806c82..776b84e0e 100644
--- a/src/OSSupport/ListenThread.h
+++ b/src/OSSupport/ListenThread.h
@@ -76,8 +76,8 @@ protected:
*/
bool CreateSockets(const AString & a_PortsString);
- // cIsThread override:
- virtual void Execute(void) override;
+ // cIsThread /*override*/:
+ virtual void Execute(void) /*override*/;
} ;
diff --git a/src/OSSupport/SocketThreads.h b/src/OSSupport/SocketThreads.h
index 944f5f3bc..e19a72409 100644
--- a/src/OSSupport/SocketThreads.h
+++ b/src/OSSupport/SocketThreads.h
@@ -157,7 +157,7 @@ private:
sSlot m_Slots[MAX_SLOTS];
int m_NumSlots; // Number of slots actually used
- virtual void Execute(void) override;
+ virtual void Execute(void) /*override*/;
/** Prepares the Read and Write socket sets for select()
Puts all sockets into the read set, along with m_ControlSocket1.