Merge pull request #2478 from mtola/master

fix bug -> 2x 2 missing "inline" to prevent duplicate symbols during …
This commit is contained in:
Laurent Rineau 2017-10-13 16:54:11 +02:00
commit 39516eaa2b
2 changed files with 4 additions and 4 deletions

View File

@ -91,7 +91,7 @@ bool write_off(const char* fname,
namespace internal { namespace read_off_tools {
bool is_whitespace(const std::string& s)
inline bool is_whitespace(const std::string& s)
{
for(unsigned int i=0; i < s.size(); i++){
if(s[i] != ' ' && s[i] != '\t'){
@ -101,7 +101,7 @@ bool write_off(const char* fname,
return true;
}
std::string next_non_comment(std::istream& is)
inline std::string next_non_comment(std::istream& is)
{
std::string line;
do {

View File

@ -110,7 +110,7 @@ bool write_off(const char* fname,
namespace internal { namespace read_off_tools {
bool is_whitespace(const std::string& s)
inline bool is_whitespace(const std::string& s)
{
for(unsigned int i=0; i < s.size(); i++){
if(s[i] != ' ' && s[i] != '\t'){
@ -120,7 +120,7 @@ bool write_off(const char* fname,
return true;
}
std::string next_non_comment(std::istream& is)
inline std::string next_non_comment(std::istream& is)
{
std::string line;
do {