From 4025dbe7af342d11a77ef0c35199326e34b1a9dc Mon Sep 17 00:00:00 2001 From: artpaul Date: Thu, 15 Dec 2016 23:59:07 +0500 Subject: [PATCH] style --- dbms/include/DB/Functions/FunctionsURL.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dbms/include/DB/Functions/FunctionsURL.h b/dbms/include/DB/Functions/FunctionsURL.h index c004b492789..60c5cce3d5a 100644 --- a/dbms/include/DB/Functions/FunctionsURL.h +++ b/dbms/include/DB/Functions/FunctionsURL.h @@ -64,8 +64,8 @@ using Pos = const char *; inline StringView getURLScheme(const StringView & url) { // scheme = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." ) - const char* p = url.data(); - const char* end = url.data() + url.size(); + const char * p = url.data(); + const char * end = url.data() + url.size(); if (isAlphaASCII(*p)) { @@ -88,8 +88,8 @@ inline StringView getURLScheme(const StringView & url) inline StringView getURLHost(const StringView & url) { StringView scheme = getURLScheme(url); - const char* p = url.data() + scheme.size(); - const char* end = url.data() + url.size(); + const char * p = url.data() + scheme.size(); + const char * end = url.data() + url.size(); // Colon must follows after scheme. if (p == end || *p != ':') @@ -100,7 +100,7 @@ inline StringView getURLHost(const StringView & url) else p += 3; - const char* st = p; + const char * st = p; for (; p < end; ++p) {