Changeset 3409 in Sophya for trunk/SophyaLib/NTools/classfunc.h


Ignore:
Timestamp:
Nov 25, 2007, 7:13:51 PM (18 years ago)
Author:
cmv
Message:

operator(double) de ClassFunc et GenericFunc n'est plus const , cmv 25/11/2007

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/NTools/classfunc.h

    r3108 r3409  
    1414public:
    1515  virtual ~ClassFunc(void) { }
    16   virtual double operator()(double x) const =0;
     16  virtual double operator()(double x) =0;
    1717};
    1818
     
    2323 public:
    2424  Function(double (*g)(double)):f(g){}
    25   virtual  double operator()(double x) const { return f(x);}
     25  virtual  double operator()(double x) { return f(x);}
    2626};
    2727
Note: See TracChangeset for help on using the changeset viewer.