mirror of
https://github.com/dart-lang/sdk
synced 2024-10-04 19:39:41 +00:00
Fix build regression on alpine linux
Closes https://github.com/dart-lang/sdk/pull/55993 GitOrigin-RevId: 0a4d00914442f6be1bce949ca7a234fbd04952cd Change-Id: I1cb1ad381111853c03ac3a39854a0c0a75a3d31a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/371262 Reviewed-by: Daco Harkes <dacoharkes@google.com> Commit-Queue: Daco Harkes <dacoharkes@google.com>
This commit is contained in:
parent
47cb48e415
commit
bde8d28217
|
@ -22,7 +22,7 @@ class CAllocUniquePtr : public std::unique_ptr<T, decltype(std::free)*> {
|
|||
: std::unique_ptr<T, decltype(std::free)*>(nullptr, std::free) {}
|
||||
explicit CAllocUniquePtr(T* value)
|
||||
: std::unique_ptr<T, decltype(std::free)*>(value, std::free) {}
|
||||
CAllocUniquePtr& operator=(nullptr_t value) {
|
||||
CAllocUniquePtr& operator=(std::nullptr_t value) {
|
||||
std::unique_ptr<T, decltype(std::free)*>::operator=(value);
|
||||
return *this;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue