Remove superfluous use of 'inline'

Member functions defined in the class body are always 'inline'.
This commit is contained in:
Ray Speth 2014-02-21 19:08:13 +00:00
parent 4a83d6450b
commit b5c5835ca9
3 changed files with 7 additions and 7 deletions

View file

@ -253,7 +253,7 @@ public:
}
//! Set all of the entries to zero
inline void zero() {
void zero() {
size_t nn = m_nrows * m_ncols;
if (nn > 0) {
/*

View file

@ -26,7 +26,7 @@ public:
return m_s;
}
inline std::string XML_filter(const std::string& name) {
std::string XML_filter(const std::string& name) {
int ns = static_cast<int>(name.size());
std::string nm(name);
for (int m = 0; m < ns; m++)
@ -51,14 +51,14 @@ public:
* s : Output stream containing the XML file
* comment : Reference to a string containing the comment
*/
inline void XML_comment(std::ostream& s, const std::string& comment) {
void XML_comment(std::ostream& s, const std::string& comment) {
for (int n = 0; n < _level; n++) {
s << _indent;
}
s << "<!--" << comment << "-->" << std::endl;
}
inline void XML_open(std::ostream& s, const std::string& tag, const std::string& p = "") {
void XML_open(std::ostream& s, const std::string& tag, const std::string& p = "") {
for (int n = 0; n < _level; n++) {
s << _indent;
}
@ -66,7 +66,7 @@ public:
s << "<" << XML_filter(tag) << p << ">" << std::endl;
}
inline void XML_close(std::ostream& s, const std::string& tag) {
void XML_close(std::ostream& s, const std::string& tag) {
_level--;
for (int n = 0; n < _level; n++) {
s << _indent;

View file

@ -65,10 +65,10 @@ public:
int maxsteps = 1000, int loglevel=-99);
doublereal error();
inline std::string reactionString(size_t j) {
std::string reactionString(size_t j) {
return std::string("");
}
inline void printInfo(int loglevel) {}
void printInfo(int loglevel) {}
void setInitialMixMoles(int loglevel = 0) {
setInitialMoles(loglevel);