summaryrefslogtreecommitdiffstats
path: root/base/string_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/string_util.cc')
-rw-r--r--base/string_util.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/string_util.cc b/base/string_util.cc
index 4af3ed9..af96d91 100644
--- a/base/string_util.cc
+++ b/base/string_util.cc
@@ -804,7 +804,8 @@ size_t Tokenize(const base::StringPiece& str,
template<typename STR>
static STR JoinStringT(const std::vector<STR>& parts,
typename STR::value_type sep) {
- if (parts.empty()) return STR();
+ if (parts.empty())
+ return STR();
STR result(parts[0]);
typename std::vector<STR>::const_iterator iter = parts.begin();