Remove trailing whitespace

This commit is contained in:
Richard Berger
2020-06-02 16:43:41 -04:00
parent 352cea3957
commit 5688fd41bb
4 changed files with 6 additions and 6 deletions

View File

@ -30,7 +30,7 @@ using namespace LAMMPS_NS;
PotentialFileReader::PotentialFileReader(LAMMPS *lmp, PotentialFileReader::PotentialFileReader(LAMMPS *lmp,
const std::string &filename, const std::string &filename,
const std::string &potential_name) : const std::string &potential_name) :
Pointers(lmp), Pointers(lmp),
reader(nullptr), reader(nullptr),
filename(filename), filename(filename),

View File

@ -28,7 +28,7 @@ using namespace LAMMPS_NS;
TableFileReader::TableFileReader(LAMMPS *lmp, TableFileReader::TableFileReader(LAMMPS *lmp,
const std::string &filename, const std::string &filename,
const std::string &type) : const std::string &type) :
PotentialFileReader(lmp, filename, type + " table") PotentialFileReader(lmp, filename, type + " table")
{ {
} }

View File

@ -28,7 +28,7 @@
using namespace LAMMPS_NS; 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) : filename(filename), filetype(filetype)
{ {
fp = fopen(filename.c_str(), "r"); fp = fopen(filename.c_str(), "r");

View File

@ -33,7 +33,7 @@ namespace LAMMPS_NS
public: public:
bool ignore_comments; bool ignore_comments;
TextFileReader(const std::string &filename, const std::string &filetype); TextFileReader(const std::string &filename, const std::string &filetype);
~TextFileReader(); ~TextFileReader();
@ -48,10 +48,10 @@ namespace LAMMPS_NS
public: public:
FileReaderException(const std::string & msg) : message(msg) { FileReaderException(const std::string & msg) : message(msg) {
} }
~FileReaderException() throw() { ~FileReaderException() throw() {
} }
virtual const char * what() const throw() { virtual const char * what() const throw() {
return message.c_str(); return message.c_str();
} }