Revision c460d4c2
Changed deconstructor for behavior list because I discovered vector::empty which should be used instead.
scout/libscout/src/BehaviorList.cpp | ||
---|---|---|
9 | 9 |
|
10 | 10 |
BehaviorList::~BehaviorList() |
11 | 11 |
{ |
12 |
while((int)behavior_list.size() != 0)
|
|
12 |
while(!behavior_list.empty())
|
|
13 | 13 |
behavior_list.pop_back(); |
14 | 14 |
} |
Also available in: Unified diff