aboutsummaryrefslogtreecommitdiff
path: root/src/utility.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/utility.cc')
-rw-r--r--src/utility.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/utility.cc b/src/utility.cc
index 92ba7b9..9d81f61 100644
--- a/src/utility.cc
+++ b/src/utility.cc
@@ -3,15 +3,15 @@
namespace UTF8 {
namespace dtl {
-bool match(const uint8_t& codeUnit, CodeUnitType&& type) {
- return codeUnit & static_cast<uint8_t>(type);
+bool match(const std::uint8_t& codeUnit, CodeUnitType&& type) {
+ return codeUnit & static_cast<std::uint8_t>(type);
}
void write(char32_t& codePoint,
- const uint8_t& codeUnit,
+ const std::uint8_t& codeUnit,
CodePoint&& mask,
- const uint8_t& offset) {
- codePoint += (codeUnit & static_cast<uint8_t>(mask)) << offset;
+ const std::uint8_t& offset) {
+ codePoint += (codeUnit & static_cast<std::uint8_t>(mask)) << offset;
}
}