Repository navigation
THRIFT-5602: Use std::unique_ptr instead of boost::scoped_array - #2630
Conversation
f083c7a to
aeec774
Compare
|
Dear @kou , your changes are highly appreciated! But since the build failed in Appveyor and Travis, could you kindly rebase on latest master and force push again, to see if the build errors go away? If not, we need to see if they are related to your changes... |
Client: cpp We can use std::unique_ptr because we require C++11 or later.
aeec774 to
d6a42e1
Compare
|
Rebased. I hope that all CI jobs are green... |
|
The AppVeyor job is green but some Travis CI jobs are still failed. But the same Travis CI jobs on master are failed:
It seems that these Travis CI failures aren't related to this change. |
|
Yep, I agree, the errors are unrelated, so your changes look good! Thanks for pushing this forward. I'll test it locally in my CI and then merge. |
|
I've tested the changes also against our internal build with some different compilers, and run test suites on Linux, Windows and MacOS. Everything looks good, so merging. Thanks for the nice cleanup! |
|
Thanks! |
|
Thanks to you! If you have more such changes, please keep them coming! |
|
Great change @kou - standards FTW! 👍 |
apache/thrift#2687 apache/thrift#2681 apache/thrift#2680 apache/thrift#2630 apache/thrift#2682 Signed-off-by: Christopher Friedt <cfriedt@meta.com>
With this, we're starting to clean up the commit history a bit. See #147 for details. apache/thrift#2687 apache/thrift#2681 apache/thrift#2680 apache/thrift#2630 apache/thrift#2682 Signed-off-by: Christopher Friedt <cfriedt@meta.com>
With this, we're starting to clean up the commit history a bit. See #147 for details. apache/thrift#2687 apache/thrift#2681 apache/thrift#2680 apache/thrift#2630 apache/thrift#2682 Signed-off-by: Christopher Friedt <cfriedt@meta.com>
With this, we're starting to clean up the commit history a bit. See #147 for details. apache/thrift#2687 apache/thrift#2681 apache/thrift#2680 apache/thrift#2630 apache/thrift#2682 apache/thrift#2689 Signed-off-by: Christopher Friedt <cfriedt@meta.com>
With this, we're starting to clean up the commit history a bit. See #147 for details. apache/thrift#2687 apache/thrift#2681 apache/thrift#2680 apache/thrift#2630 apache/thrift#2682 apache/thrift#2689 Signed-off-by: Christopher Friedt <cfriedt@meta.com>
It seems that Apache Thrift wants to drop Boost dependency eventually.
See also:
thrift/lib/cpp/CMakeLists.txt
Lines 20 to 21 in 4646a35
This is a step for it. We don't need to use boost::scoped_array because
we can use std::unique_ptr. We require C++11 or later and std::unique_ptr
can be used with C++11 or later.
[skip ci]anywhere in the commit message to free up build resources.