forked from lijiext/lammps
Remove trailing whitespace
This commit is contained in:
parent
352cea3957
commit
5688fd41bb
|
@ -30,7 +30,7 @@ using namespace LAMMPS_NS;
|
|||
|
||||
PotentialFileReader::PotentialFileReader(LAMMPS *lmp,
|
||||
const std::string &filename,
|
||||
const std::string &potential_name) :
|
||||
const std::string &potential_name) :
|
||||
Pointers(lmp),
|
||||
reader(nullptr),
|
||||
filename(filename),
|
||||
|
|
|
@ -28,7 +28,7 @@ using namespace LAMMPS_NS;
|
|||
|
||||
TableFileReader::TableFileReader(LAMMPS *lmp,
|
||||
const std::string &filename,
|
||||
const std::string &type) :
|
||||
const std::string &type) :
|
||||
PotentialFileReader(lmp, filename, type + " table")
|
||||
{
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
using namespace LAMMPS_NS;
|
||||
|
||||
TextFileReader::TextFileReader(const std::string &filename, const std::string &filetype)
|
||||
TextFileReader::TextFileReader(const std::string &filename, const std::string &filetype)
|
||||
: filename(filename), filetype(filetype)
|
||||
{
|
||||
fp = fopen(filename.c_str(), "r");
|
||||
|
|
|
@ -33,7 +33,7 @@ namespace LAMMPS_NS
|
|||
|
||||
public:
|
||||
bool ignore_comments;
|
||||
|
||||
|
||||
TextFileReader(const std::string &filename, const std::string &filetype);
|
||||
~TextFileReader();
|
||||
|
||||
|
@ -48,10 +48,10 @@ namespace LAMMPS_NS
|
|||
public:
|
||||
FileReaderException(const std::string & msg) : message(msg) {
|
||||
}
|
||||
|
||||
|
||||
~FileReaderException() throw() {
|
||||
}
|
||||
|
||||
|
||||
virtual const char * what() const throw() {
|
||||
return message.c_str();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue