summaryrefslogtreecommitdiff
path: root/graphics/asymptote/LspCpp/third_party/uri/test/string_utility.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/LspCpp/third_party/uri/test/string_utility.hpp')
-rw-r--r--graphics/asymptote/LspCpp/third_party/uri/test/string_utility.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/graphics/asymptote/LspCpp/third_party/uri/test/string_utility.hpp b/graphics/asymptote/LspCpp/third_party/uri/test/string_utility.hpp
new file mode 100644
index 0000000000..71d22746bb
--- /dev/null
+++ b/graphics/asymptote/LspCpp/third_party/uri/test/string_utility.hpp
@@ -0,0 +1,17 @@
+// Copyright 2013-2016 Glyn Matthews.
+// Distributed under the Boost Software License, Version 1.0.
+// (See accompanying file LICENSE_1_0.txt of copy at
+// http://www.boost.org/LICENSE_1_0.txt)
+
+#ifndef URI_TEST_STRING_UTILITY_INC
+#define URI_TEST_STRING_UTILITY_INC
+
+#include <network/string_view.hpp>
+
+namespace network {
+inline bool operator==(const char *lhs, string_view rhs) {
+ return string_view(lhs) == rhs;
+}
+} // namespace network
+
+#endif // URI_TEST_STRING_UTILITY_INC