mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update source files for bracket style
This commit is contained in:
@ -8,13 +8,15 @@ namespace {
|
||||
|
||||
void TransferVector(const std::vector<std::string>& source,
|
||||
std::vector<CefString>& target) {
|
||||
if (!target.empty())
|
||||
if (!target.empty()) {
|
||||
target.clear();
|
||||
}
|
||||
|
||||
if (!source.empty()) {
|
||||
std::vector<std::string>::const_iterator it = source.begin();
|
||||
for (; it != source.end(); ++it)
|
||||
for (; it != source.end(); ++it) {
|
||||
target.push_back(*it);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user