remove .c_str() and simplify output in several places
This commit is contained in:
@ -15,6 +15,7 @@
|
||||
#define LMP_VARIABLE_H
|
||||
|
||||
#include "pointers.h"
|
||||
#include <string>
|
||||
|
||||
namespace LAMMPS_NS {
|
||||
|
||||
@ -123,7 +124,8 @@ class Variable : protected Pointers {
|
||||
double constant(char *);
|
||||
int parse_args(char *, char **);
|
||||
char *find_next_comma(char *);
|
||||
void print_var_error(const char *, int, const char *, int, int global=1);
|
||||
void print_var_error(const std::string &, int, const std::string &,
|
||||
int, int global=1);
|
||||
void print_tree(Tree *, int);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user