Commit 29da96ea authored by Francois Gygi's avatar Francois Gygi
Browse files

Removed deprecated use of conversion from char* to const char* in headers.


git-svn-id: http://qboxcode.org/svn/qb/trunk@1309 cba15fb0-1239-40c8-b417-11db7ca47a34
parent fc491af8
......@@ -33,8 +33,8 @@ class AngleCmd : public Cmd
AngleCmd(Sample *sample) : s(sample) {};
char *name(void) const { return "angle"; }
char *help_msg(void) const
const char *name(void) const { return "angle"; }
const char *help_msg(void) const
{
return
"\n angle\n\n"
......
......@@ -34,8 +34,8 @@ class AtomCmd : public Cmd
AtomCmd(Sample *sample) : s(sample) {};
char *name(void) const { return "atom"; }
char *help_msg(void) const
const char *name(void) const { return "atom"; }
const char *help_msg(void) const
{
return
"\n atom\n\n"
......
......@@ -33,7 +33,7 @@ class AtomsDyn : public Var
public:
char *name ( void ) const { return "atoms_dyn"; };
const char *name ( void ) const { return "atoms_dyn"; };
int set ( int argc, char **argv )
{
......
......@@ -35,8 +35,8 @@ class BisectionCmd : public Cmd
BisectionCmd(Sample *sample) : s(sample) {};
char *name(void) const { return "bisection"; }
char *help_msg(void) const
const char *name(void) const { return "bisection"; }
const char *help_msg(void) const
{
return
"\n bisection\n\n"
......
......@@ -32,7 +32,7 @@ class BlHF : public Var
public:
char *name ( void ) const { return "blHF"; };
const char *name ( void ) const { return "blHF"; };
int set ( int argc, char **argv )
{
......
......@@ -32,7 +32,7 @@ class BtHF : public Var
public:
char *name ( void ) const { return "btHF"; };
const char *name ( void ) const { return "btHF"; };
int set ( int argc, char **argv )
{
......
......@@ -33,7 +33,7 @@ class Cell : public Var
public:
char *name ( void ) const { return "cell"; };
const char *name ( void ) const { return "cell"; };
int set ( int argc, char **argv )
{
......
......@@ -34,7 +34,7 @@ class CellDyn : public Var
public:
char *name ( void ) const { return "cell_dyn"; };
const char *name ( void ) const { return "cell_dyn"; };
int set ( int argc, char **argv )
{
......
......@@ -33,7 +33,7 @@ class CellLock : public Var
public:
char *name ( void ) const { return "cell_lock"; };
const char *name ( void ) const { return "cell_lock"; };
int set ( int argc, char **argv )
{
......
......@@ -33,7 +33,7 @@ class CellMass : public Var
public:
char *name ( void ) const { return "cell_mass"; };
const char *name ( void ) const { return "cell_mass"; };
int set ( int argc, char **argv )
{
......
......@@ -33,7 +33,7 @@ class ChargeMixCoeff : public Var
public:
char *name ( void ) const { return "charge_mix_coeff"; };
const char *name ( void ) const { return "charge_mix_coeff"; };
int set ( int argc, char **argv )
{
......
......@@ -33,7 +33,7 @@ class ChargeMixNdim : public Var
public:
char *name ( void ) const { return "charge_mix_ndim"; };
const char *name ( void ) const { return "charge_mix_ndim"; };
int set ( int argc, char **argv )
{
......
......@@ -33,7 +33,7 @@ class ChargeMixRcut : public Var
public:
char *name ( void ) const { return "charge_mix_rcut"; };
const char *name ( void ) const { return "charge_mix_rcut"; };
int set ( int argc, char **argv )
{
......
......@@ -37,9 +37,8 @@ class ComputeMLWFCmd : public Cmd
ComputeMLWFCmd(Sample *sample) : s(sample) {};
char *name(void) const { return "compute_mlwf"; }
char *help_msg(void) const
const char *name(void) const { return "compute_mlwf"; }
const char *help_msg(void) const
{
return
"\n compute_mlwf\n\n"
......
......@@ -31,8 +31,8 @@ class ConstraintCmd : public Cmd
ConstraintCmd(Sample *sample) : s(sample) {};
char *name(void) const { return "constraint"; }
char *help_msg(void) const
const char *name(void) const { return "constraint"; }
const char *help_msg(void) const
{
return
"\n constraint\n\n"
......
......@@ -33,7 +33,7 @@ class Debug : public Var
public:
char *name ( void ) const { return "debug"; };
const char *name ( void ) const { return "debug"; };
int set ( int argc, char **argv )
{
......
......@@ -33,8 +33,8 @@ class DistanceCmd : public Cmd
DistanceCmd(Sample *sample) : s(sample) {};
char *name(void) const { return "distance"; }
char *help_msg(void) const
const char *name(void) const { return "distance"; }
const char *help_msg(void) const
{
return
"\n distance\n\n"
......
......@@ -32,7 +32,7 @@ class Dspin : public Var
public:
char *name ( void ) const { return "delta_spin"; };
const char *name ( void ) const { return "delta_spin"; };
int set ( int argc, char **argv )
{
......
......@@ -33,7 +33,7 @@ class Dt : public Var
public:
char *name ( void ) const { return "dt"; };
const char *name ( void ) const { return "dt"; };
int set ( int argc, char **argv )
{
......
......@@ -33,7 +33,7 @@ class Ecut : public Var
public:
char *name ( void ) const { return "ecut"; };
const char *name ( void ) const { return "ecut"; };
int set ( int argc, char **argv )
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment