We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77ff26a commit ec6a44bCopy full SHA for ec6a44b
include/ada/url_pattern_helpers-inl.h
@@ -15,7 +15,7 @@
15
16
#if ADA_INCLUDE_URL_PATTERN
17
namespace ada::url_pattern_helpers {
18
-#ifdef ADA_TESTING
+#if defined(ADA_TESTING) || defined(ADA_LOGGING)
19
inline std::string to_string(token_type type) {
20
switch (type) {
21
case token_type::INVALID_CHAR:
@@ -42,7 +42,7 @@ inline std::string to_string(token_type type) {
42
ada::unreachable();
43
}
44
45
-#endif // ADA_TESTING
+#endif // defined(ADA_TESTING) || defined(ADA_LOGGING)
46
47
template <url_pattern_regex::regex_concept regex_provider>
48
constexpr void constructor_string_parser<regex_provider>::rewind() {
0 commit comments