Revision 1298 trunk/src/linad99/fvar.hpp

fvar.hpp (revision 1298)
621 621
 public:
622 622
#if defined(USE_VECTOR_SHAPE_POOL)
623 623
   static vector_shape_pool *xpool;
624
   void *operator  new(size_t);
625
   void operator  delete(void *ptr, size_t n)
624
   void *operator new(size_t);
625
   void operator delete(void *ptr, size_t)
626 626
   {
627 627
      xpool->free(ptr);
628 628
   }
......
2247 2247
   friend class dvar_vector;
2248 2248
#if defined(USE_VECTOR_SHAPE_POOL)
2249 2249
   static vector_shape_pool *xpool;
2250
   void *operator  new(size_t);
2251
   void operator  delete(void *ptr, size_t n)
2250
   void *operator new(size_t);
2251
   void operator delete(void *ptr, size_t)
2252 2252
   {
2253 2253
      xpool->free(ptr);
2254 2254
   }
......
2826 2826
{
2827 2827
#if defined(USE_VECTOR_SHAPE_POOL)
2828 2828
   static vector_shape_pool *xpool;
2829
   void *operator  new(size_t);
2830
   void operator  delete(void *ptr, size_t n)
2829
   void *operator new(size_t);
2830
   void operator delete(void* ptr, size_t)
2831 2831
   {
2832 2832
      xpool->free(ptr);
2833 2833
   }
......
8596 8596
      return d;
8597 8597
   }
8598 8598
   //operator int () { return d;}
8599
   ad_integer(const int &_d, const adkludge & k):d(_d)
8599
   ad_integer(const int &_d, const adkludge&): d(_d)
8600 8600
   {
8601 8601
   }
8602 8602
   ad_integer(int _d):d(_d)
......
9430 9430
   {
9431 9431
      return d;
9432 9432
   }
9433
   ad_double(const double &_d, const adkludge & k):d(_d)
9433
   ad_double(const double& _d, const adkludge&):d(_d)
9434 9434
   {
9435 9435
   }
9436 9436
   ad_double(double _d):d(_d)

Also available in: Unified diff