Commit f1eece9
authored
### Rationale for this change
`ORC_UNIQUE_PTR` is used to wrap `std::auto_ptr` and `std::unique_ptr` before wide adoption of C++11 in the Apache ORC C++ library. Now the library has adopted C++17 already and this macro has been deprecated.
### What changes are included in this PR?
Replace `ORC_UNIQUE_PTR` with `std::unique_ptr`.
### Are these changes tested?
Make sure all tests pass.
### Are there any user-facing changes?
No.
* Closes: #34547
Authored-by: Gang Wu <ustcwg@gmail.com>
Signed-off-by: Will Jones <willjones127@gmail.com>
1 parent eaa3100 commit f1eece9
4 files changed
Lines changed: 8 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
781 | 781 | | |
782 | 782 | | |
783 | 783 | | |
784 | | - | |
| 784 | + | |
785 | 785 | | |
786 | 786 | | |
787 | 787 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
344 | | - | |
| 344 | + | |
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
| |||
966 | 965 | | |
967 | 966 | | |
968 | 967 | | |
969 | | - | |
970 | 968 | | |
971 | 969 | | |
972 | | - | |
| 970 | + | |
973 | 971 | | |
974 | 972 | | |
975 | 973 | | |
| |||
1015 | 1013 | | |
1016 | 1014 | | |
1017 | 1015 | | |
1018 | | - | |
| 1016 | + | |
1019 | 1017 | | |
1020 | 1018 | | |
1021 | 1019 | | |
| |||
1037 | 1035 | | |
1038 | 1036 | | |
1039 | 1037 | | |
1040 | | - | |
| 1038 | + | |
1041 | 1039 | | |
1042 | 1040 | | |
1043 | 1041 | | |
| |||
1167 | 1165 | | |
1168 | 1166 | | |
1169 | 1167 | | |
1170 | | - | |
| 1168 | + | |
1171 | 1169 | | |
1172 | | - | |
| 1170 | + | |
1173 | 1171 | | |
1174 | 1172 | | |
1175 | 1173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments