Add error on misused define.

This commit is contained in:
Wilson Snyder
2020-01-11 09:16:26 -05:00
parent fe9cf9bd42
commit fe94f9891b
7 changed files with 51 additions and 0 deletions
+7
View File
@@ -114,6 +114,13 @@ string VString::spaceUnprintable(const string& str) {
return out;
}
bool VString::isWhitespace(const string& str) {
for (string::const_iterator pos = str.begin(); pos != str.end(); ++pos) {
if (!isspace(*pos)) return false;
}
return true;
}
//######################################################################
// VHashSha256