mirror of
https://github.com/anope/anope.git
synced 2026-07-05 04:33:12 +02:00
Improve the layout of types that inherit from another type.
This commit is contained in:
@@ -14,7 +14,9 @@
|
||||
#include "sockets.h"
|
||||
#include "extensible.h"
|
||||
|
||||
class CoreExport Thread : public Pipe, public Extensible
|
||||
class CoreExport Thread
|
||||
: public Pipe
|
||||
, public Extensible
|
||||
{
|
||||
private:
|
||||
/* Set to true to tell the thread to finish and we are waiting for it */
|
||||
@@ -88,7 +90,8 @@ public:
|
||||
bool TryLock();
|
||||
};
|
||||
|
||||
class CoreExport Condition : public Mutex
|
||||
class CoreExport Condition
|
||||
: public Mutex
|
||||
{
|
||||
private:
|
||||
/* A condition */
|
||||
|
||||
Reference in New Issue
Block a user