Skip to content

Commit

Permalink
Fix compilation in systems having an isnumber macro
Browse files Browse the repository at this point in the history
  • Loading branch information
aslze committed Sep 5, 2024
1 parent 96de1f0 commit 0b2f37c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TabularDataFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ inline bool myisdigit(char c)
return c >= '0' && c <= '9';
}

inline bool isnumber(const String& s, char dec)
inline bool myisnumber(const String& s, char dec)
{
const char* p = s.data();
int n = s.length();
Expand Down Expand Up @@ -331,7 +331,7 @@ bool TabularDataFile::nextRow()
}
else
{
if (isnumber(v, decimal))
if (myisnumber(v, decimal))
{
if (decimal != '.')
v.replaceme(decimal, '.');
Expand Down

0 comments on commit 0b2f37c

Please sign in to comment.