Switch std::make_unique for absl::make_unique.
PiperOrigin-RevId: 280761166 Change-Id: Iecfc7496f08e4e05f75f8d598cac2806503c3edf
This commit is contained in:
parent
2f63b65d95
commit
b9e281c8eb
@ -104,7 +104,7 @@ ResourceMgr::ResourceAndName::ResourceAndName()
|
||||
|
||||
ResourceMgr::ResourceAndName::ResourceAndName(ResourceBase* resource,
|
||||
string name)
|
||||
: resource(resource), name(std::make_unique<string>(std::move(name))) {}
|
||||
: resource(resource), name(absl::make_unique<string>(std::move(name))) {}
|
||||
|
||||
ResourceMgr::ResourceAndName::ResourceAndName(
|
||||
ResourceAndName&& other) noexcept {
|
||||
|
Loading…
Reference in New Issue
Block a user