aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Uri.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Uri.cpp b/src/Uri.cpp
index e2448bb..9bd8c4a 100644
--- a/src/Uri.cpp
+++ b/src/Uri.cpp
@@ -16,7 +16,7 @@
#include <memory>
#include <sstream>
#include <string>
-#include <SystemAbstractions/StringExtensions.hpp>
+#include <StringExtensions/StringExtensions.hpp>
#include <Uri/Uri.hpp>
#include <vector>
@@ -844,17 +844,17 @@ namespace Uri {
return false;
}
if (hostIsRegName) {
- host = SystemAbstractions::ToLower(host);
+ host = StringExtensions::ToLower(host);
}
if (portString.empty()) {
hasPort = false;
} else {
intmax_t portAsInt;
if (
- SystemAbstractions::ToInteger(
+ StringExtensions::ToInteger(
portString,
portAsInt
- ) != SystemAbstractions::ToIntegerResult::Success
+ ) != StringExtensions::ToIntegerResult::Success
) {
return false;
}
@@ -913,7 +913,7 @@ namespace Uri {
) {
return false;
}
- scheme = SystemAbstractions::ToLower(scheme);
+ scheme = StringExtensions::ToLower(scheme);
rest = uriString.substr(schemeEnd + 1);
}
return true;
@@ -1440,7 +1440,7 @@ namespace Uri {
}
if (!impl_->host.empty()) {
if (ValidateIpv6Address(impl_->host)) {
- buffer << '[' << SystemAbstractions::ToLower(impl_->host) << ']';
+ buffer << '[' << StringExtensions::ToLower(impl_->host) << ']';
} else {
buffer << EncodeElement(impl_->host, REG_NAME_NOT_PCT_ENCODED);
}