r17618 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r17617‎ | r17618 | r17619 >
Date:14:04, 13 November 2006
Author:river
Status:old
Tags:
Comment:
backend lists should use ptalloc
Modified paths:
  • /trunk/willow/src/include/wbackend.h (modified) (history)

Diff [purge]

Index: trunk/willow/src/include/wbackend.h
@@ -72,7 +72,7 @@
7373 }
7474
7575 private:
76 - vector<backend *> backends;
 76+ vector<backend *, pt_allocator<backend *> > backends;
7777 int _cur;
7878 };
7979
@@ -90,7 +90,7 @@
9191
9292 void _carp_calc (void);
9393
94 - vector<backend *> backends;
 94+ vector<backend *, pt_allocator<backend *> > backends;
9595 tss<int> _cur;
9696 lb_type _lbtype;
9797 string _name;