mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
use of const functions
This commit is contained in:
parent
90f777d593
commit
7c4324b963
@ -59,13 +59,13 @@ public:
|
||||
iterator a = begin();
|
||||
while( a ) a.remove();
|
||||
}
|
||||
bool empty() {
|
||||
bool empty() const{
|
||||
return (head ? false : true);
|
||||
}
|
||||
void put( T* a ) {
|
||||
head = new CListEle( a , head );
|
||||
}
|
||||
int size() {
|
||||
int size() const{
|
||||
CListEle *p = head;
|
||||
int i = 0;
|
||||
while (p)
|
||||
|
Loading…
Reference in New Issue
Block a user