Changed: #878 Fix typos in comments/code

This commit is contained in:
kervala 2011-05-26 20:47:04 +02:00
parent 697f8760b2
commit 2efa01d373
2 changed files with 18 additions and 19 deletions

View file

@ -1022,14 +1022,14 @@ struct _CMirrorPropValueListIterator
CMirrorPropValueList<T,CPLC> *_ParentList; CMirrorPropValueList<T,CPLC> *_ParentList;
TSharedListRow _Index; TSharedListRow _Index;
typedef T value_type; typedef T value_type;
typedef value_type* pointer; typedef value_type* pointer;
typedef const value_type* const_pointer; typedef const value_type* const_pointer;
typedef value_type& reference; typedef value_type& reference;
typedef const value_type& const_reference; typedef const value_type& const_reference;
typedef size_t size_type; typedef size_t size_type;
typedef ptrdiff_t difference_type; typedef ptrdiff_t difference_type;
// typedef typename std::forward_iterator_tag iterator_category; // typedef typename std::forward_iterator_tag iterator_category;
}; };
@ -1050,15 +1050,14 @@ struct _CCMirrorPropValueListIterator
CMirrorPropValueList<T,CPLC> *_ParentList; CMirrorPropValueList<T,CPLC> *_ParentList;
TSharedListRow _Index; TSharedListRow _Index;
typedef T value_type; typedef T value_type;
typedef value_type* pointer; typedef value_type* pointer;
typedef const value_type* const_pointer; typedef const value_type* const_pointer;
typedef value_type& reference; typedef value_type& reference;
typedef const value_type& const_reference; typedef const value_type& const_reference;
typedef size_t size_type; typedef size_t size_type;
typedef ptrdiff_t difference_type; typedef ptrdiff_t difference_type;
// typedef typename std::forward_iterator_tag iterator_category; // typedef typename std::forward_iterator_tag iterator_category;
}; };
@ -1232,7 +1231,7 @@ class CMirrorPropValueList<NLMISC::CEntityId,CPropLocationUnpacked>
{ {
public: public:
typedef CPropLocationUnpacked CPropLocationClass; typedef CPropLocationUnpacked CPropLocationClass;
typedef uint32 size_type; typedef uint32 size_type;
typedef _CMirrorPropValueListIterator<NLMISC::CEntityId,CPropLocationClass> iterator; typedef _CMirrorPropValueListIterator<NLMISC::CEntityId,CPropLocationClass> iterator;

View file

@ -2437,7 +2437,7 @@ NLMISC_COMMAND(setGrpTimers,"set the timer values for a given group","<grp id> <
void cbTick(); void cbTick();
extern uint ForceTicks; extern uint ForceTicks;
NLMISC_COMMAND(updateAI,"call CAIS::update() (simulate a tick off-line)","") NLMISC_COMMAND(updateAI,"call CAIS::update() (simulate a tick off-line)","[tick]")
{ {
if(args.size() >1) if(args.size() >1)
return false; return false;