Commit 6c00731
Fix move semantics misuse and unhide Equals() overload
- In pax_storage, remove unnecessary std::move when returning a
std::unique_ptr from GetGroupStatsInfo(). Returning directly avoids
warnings and redundant moves.
- In gporca/gpos, bring CWStringBase::Equals(const WCHAR*) into scope
in CWStringConst to prevent it from being hidden by the derived class
overload.1 parent f33f8ce commit 6c00731
File tree
2 files changed
+4
-1
lines changed- contrib/pax_storage/src/cpp/storage
- src/backend/gporca/libgpos/include/gpos/string
2 files changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
60 | 63 | | |
61 | 64 | | |
62 | 65 | | |
| |||
0 commit comments