Decompile fn_18373 (?TransformFields@?A0x53de2d62@@YA?AV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@ABV23@@Z)
Batch #13006 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_18373 ?TransformFields@?A0x53de2d62@@YA?AV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@ABV23@@Z: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
da9ecd8ea7
commit
df3bf4fbc1
1 changed files with 5 additions and 2 deletions
|
|
@ -4759,8 +4759,11 @@ namespace {
|
|||
// FUNCTION: fn_18373
|
||||
std::vector<std::string> TransformFields(const std::vector<std::string>& row) {
|
||||
std::vector<std::string> result;
|
||||
result.reserve(row.size());
|
||||
for (std::string text : row) {
|
||||
if (!row.empty()) {
|
||||
result.reserve(row.size());
|
||||
}
|
||||
for (auto it = row.begin(); it != row.end(); ++it) {
|
||||
std::string text = *it;
|
||||
if (text.empty()) {
|
||||
text = "NO MSG";
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue