bkietz commented on a change in pull request #8894:
URL: https://github.com/apache/arrow/pull/8894#discussion_r545376880
##########
File path: cpp/src/arrow/compute/cast.cc
##########
@@ -135,7 +213,7 @@ CastFunction::CastFunction(std::string name, Type::type
out_type)
impl_->out_type = out_type;
}
-CastFunction::~CastFunction() {}
+CastFunction::~CastFunction() = default;
Review comment:
They're equivalent, though the clang-tidy modernize pass prefers `=
default`.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]