Update source files for bracket style

This commit is contained in:
Marshall Greenblatt
2023-01-02 17:59:03 -05:00
parent d84b07a5cb
commit 3af3eab3e4
366 changed files with 7275 additions and 3834 deletions

View File

@ -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);
}
}
}