Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArsentiy Milchakov <a.milchakov@corp.mail.ru>2016-06-29 20:06:35 +0300
committerArsentiy Milchakov <a.milchakov@corp.mail.ru>2016-06-29 20:06:35 +0300
commit065d9b8b170b2ac8301d70c592a04917213f010a (patch)
tree78788febb1c1a3a9b73b104ed71e2b19776ac348 /indexer/editable_map_object.cpp
parent5015a517216a2e8504b05c2ba2e745d44d3606c1 (diff)
Fix code style
Diffstat (limited to 'indexer/editable_map_object.cpp')
-rw-r--r--indexer/editable_map_object.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indexer/editable_map_object.cpp b/indexer/editable_map_object.cpp
index d074f2255a..83700838fc 100644
--- a/indexer/editable_map_object.cpp
+++ b/indexer/editable_map_object.cpp
@@ -317,13 +317,13 @@ bool EditableMapObject::ValidateEmail(string const & email)
if (strings::IsASCIIString(email))
return regex_match(email, regex(R"([^@\s]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)+$)"));
-
+
if ('@' == email.front() || '@' == email.back())
return false;
-
+
if ('.' == email.back())
return false;
-
+
auto const atPos = find(begin(email), end(email), '@');
if (atPos == end(email))
return false;