*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 Containers.h
|
||||
@@ -9,25 +8,18 @@
|
||||
* @author Douglas C. Schmidt <[email protected]>
|
||||
*/
|
||||
//=============================================================================
|
||||
|
||||
#ifndef ACE_CONTAINERS_H
|
||||
#define ACE_CONTAINERS_H
|
||||
|
||||
#include /**/ "ace/pre.h"
|
||||
|
||||
#include /**/ "ace/ACE_export.h"
|
||||
|
||||
#if !defined (ACE_LACKS_PRAGMA_ONCE)
|
||||
# pragma once
|
||||
#endif /* ACE_LACKS_PRAGMA_ONCE */
|
||||
|
||||
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
|
||||
|
||||
template <class T> class ACE_Double_Linked_List;
|
||||
template <class T> class ACE_Double_Linked_List_Iterator_Base;
|
||||
template <class T> class ACE_Double_Linked_List_Iterator;
|
||||
template <class T> class ACE_Double_Linked_List_Reverse_Iterator;
|
||||
|
||||
/**
|
||||
* @class ACE_DLList_Node
|
||||
*
|
||||
@@ -41,32 +33,22 @@ public:
|
||||
friend class ACE_Double_Linked_List_Iterator_Base<ACE_DLList_Node>;
|
||||
friend class ACE_Double_Linked_List_Iterator<ACE_DLList_Node>;
|
||||
friend class ACE_Double_Linked_List_Reverse_Iterator<ACE_DLList_Node>;
|
||||
|
||||
ACE_DLList_Node (void *i,
|
||||
ACE_DLList_Node *n = 0,
|
||||
ACE_DLList_Node *p = 0);
|
||||
|
||||
/// Declare the dynamic allocation hooks.
|
||||
ACE_ALLOC_HOOK_DECLARE;
|
||||
|
||||
void *item_;
|
||||
|
||||
ACE_DLList_Node *next_;
|
||||
ACE_DLList_Node *prev_;
|
||||
|
||||
protected:
|
||||
ACE_DLList_Node (void);
|
||||
};
|
||||
|
||||
ACE_END_VERSIONED_NAMESPACE_DECL
|
||||
|
||||
#if defined (__ACE_INLINE__)
|
||||
#include "ace/Containers.inl"
|
||||
#endif /* __ACE_INLINE__ */
|
||||
|
||||
#include "ace/Containers_T.h"
|
||||
|
||||
#include /**/ "ace/post.h"
|
||||
|
||||
#endif /* ACE_CONTAINERS_H */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user