summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-10-30 11:54:17 +0000
committerSadie Powell <sadie@witchery.services>2020-10-30 12:01:06 +0000
commit455ff5f3e6517d8c995e5c86572cebb210d4b4b3 (patch)
tree4f6795163a1d49450be5958c799c85da8e9c21ad /vendor
parentf0d76147e68e96bfb51226f84f644fefdd2ab565 (diff)
Update vendored libraries.
Diffstat (limited to 'vendor')
-rw-r--r--vendor/README.md2
-rw-r--r--vendor/utfcpp/utf8/checked.h8
-rw-r--r--vendor/utfcpp/utf8/core.h8
3 files changed, 9 insertions, 9 deletions
diff --git a/vendor/README.md b/vendor/README.md
index b6445d791..1f5396be2 100644
--- a/vendor/README.md
+++ b/vendor/README.md
@@ -38,7 +38,7 @@ This directory contains vendored dependencies that are shipped with InspIRCd to
**License** &mdash; Boost Software License
-**Version** &mdash; v3.1.1
+**Version** &mdash; v3.1.2
**Website** &mdash; [https://github.com/nemtrif/utfcpp](https://github.com/nemtrif/utfcpp)
diff --git a/vendor/utfcpp/utf8/checked.h b/vendor/utfcpp/utf8/checked.h
index 648636e46..71b9076f6 100644
--- a/vendor/utfcpp/utf8/checked.h
+++ b/vendor/utfcpp/utf8/checked.h
@@ -42,7 +42,7 @@ namespace utf8
uint32_t cp;
public:
invalid_code_point(uint32_t codepoint) : cp(codepoint) {}
- virtual const char* what() const NOEXCEPT OVERRIDE { return "Invalid code point"; }
+ virtual const char* what() const UTF_CPP_NOEXCEPT UTF_CPP_OVERRIDE { return "Invalid code point"; }
uint32_t code_point() const {return cp;}
};
@@ -50,7 +50,7 @@ namespace utf8
uint8_t u8;
public:
invalid_utf8 (uint8_t u) : u8(u) {}
- virtual const char* what() const NOEXCEPT OVERRIDE { return "Invalid UTF-8"; }
+ virtual const char* what() const UTF_CPP_NOEXCEPT UTF_CPP_OVERRIDE { return "Invalid UTF-8"; }
uint8_t utf8_octet() const {return u8;}
};
@@ -58,13 +58,13 @@ namespace utf8
uint16_t u16;
public:
invalid_utf16 (uint16_t u) : u16(u) {}
- virtual const char* what() const NOEXCEPT OVERRIDE { return "Invalid UTF-16"; }
+ virtual const char* what() const UTF_CPP_NOEXCEPT UTF_CPP_OVERRIDE { return "Invalid UTF-16"; }
uint16_t utf16_word() const {return u16;}
};
class not_enough_room : public exception {
public:
- virtual const char* what() const NOEXCEPT OVERRIDE { return "Not enough space"; }
+ virtual const char* what() const UTF_CPP_NOEXCEPT UTF_CPP_OVERRIDE { return "Not enough space"; }
};
/// The library API - functions intended to be called by the users
diff --git a/vendor/utfcpp/utf8/core.h b/vendor/utfcpp/utf8/core.h
index 244e89231..de6199f2a 100644
--- a/vendor/utfcpp/utf8/core.h
+++ b/vendor/utfcpp/utf8/core.h
@@ -39,11 +39,11 @@ DEALINGS IN THE SOFTWARE.
#endif
#if UTF_CPP_CPLUSPLUS >= 201103L // C++ 11 or later
- #define OVERRIDE override
- #define NOEXCEPT noexcept
+ #define UTF_CPP_OVERRIDE override
+ #define UTF_CPP_NOEXCEPT noexcept
#else // C++ 98/03
- #define OVERRIDE
- #define NOEXCEPT throw()
+ #define UTF_CPP_OVERRIDE
+ #define UTF_CPP_NOEXCEPT throw()
#endif // C++ 11 or later