summaryrefslogtreecommitdiff
path: root/src/util/regexp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/regexp.cpp')
-rw-r--r--src/util/regexp.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/util/regexp.cpp b/src/util/regexp.cpp
index 8d68d4e86..34175a775 100644
--- a/src/util/regexp.cpp
+++ b/src/util/regexp.cpp
@@ -442,10 +442,8 @@ bool String::isDigit(unsigned character)
return c >= '0' && c <= '9';
}
-size_t String::maxSize()
-{
- return std::numeric_limits<size_t>::max();
-}
+size_t String::maxSize() { return std::numeric_limits<uint32_t>::max(); }
+
Rational String::toNumber() const
{
// when smt2 standard for strings is set, this may change, based on the
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback