*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget --HG-- branch : trunk
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
// -*- C++ -*-
|
||||
|
||||
//==========================================================================
|
||||
/**
|
||||
* @file Null_Barrier.h
|
||||
@@ -11,16 +10,12 @@
|
||||
* @author Douglas C. Schmidt <[email protected]>
|
||||
*/
|
||||
//==========================================================================
|
||||
|
||||
#ifndef ACE_NULL_BARRIER_H
|
||||
#define ACE_NULL_BARRIER_H
|
||||
#include /**/ "ace/pre.h"
|
||||
|
||||
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
|
||||
|
||||
// All methods in this class are inline, so there is no
|
||||
// need to import or export on Windows. -- CAE 12/18/2003
|
||||
|
||||
/**
|
||||
* @class ACE_Null_Barrier
|
||||
*
|
||||
@@ -33,28 +28,21 @@ public:
|
||||
ACE_Null_Barrier (unsigned int,
|
||||
const char * = 0,
|
||||
void * = 0) {};
|
||||
|
||||
/// Default dtor.
|
||||
~ACE_Null_Barrier (void) {};
|
||||
|
||||
/// Block the caller until all <count> threads have called <wait> and
|
||||
/// then allow all the caller threads to continue in parallel.
|
||||
int wait (void) { return 0; };
|
||||
|
||||
/// Dump the state of an object.
|
||||
void dump (void) const {};
|
||||
|
||||
/// Declare the dynamic allocation hooks.
|
||||
//ACE_ALLOC_HOOK_DECLARE;
|
||||
|
||||
private:
|
||||
// = Prevent assignment and initialization.
|
||||
void operator= (const ACE_Null_Barrier &);
|
||||
ACE_Null_Barrier (const ACE_Null_Barrier &);
|
||||
};
|
||||
|
||||
ACE_END_VERSIONED_NAMESPACE_DECL
|
||||
|
||||
#include /**/ "ace/post.h"
|
||||
#endif /* ACE_NULL_BARRIER_H */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user