Switch std::make_unique for absl::make_unique.

PiperOrigin-RevId: 280761166
Change-Id: Iecfc7496f08e4e05f75f8d598cac2806503c3edf
This commit is contained in:
Revan Sopher 2019-11-15 16:36:54 -08:00 committed by TensorFlower Gardener
parent 2f63b65d95
commit b9e281c8eb

View File

@ -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 {