On 31-03-2011 10:44, [email protected] wrote:
> 
> Modified: firebird/trunk/src/common/classes/ImplementHelper.h
>  

>  template <class C, int V, typename S = GlobalStorage>
> -class StdIface : public Versioned<C, V, S>
> +class StdIface : public C, public S
>  {
>  public:
> -     StdIface() : refCounter(1) { }
> +     StdIface() : refCounter(0) { }
>  
In my opinion this change makes ref counter even bad that it is. Objects
must be created live, and not depend from addRef from the caller.


Adriano

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to