aboutsummaryrefslogtreecommitdiff
path: root/cc/primitive_set.h
diff options
context:
space:
mode:
authorBartosz Przydatek <przydatek@google.com>2018-04-04 12:04:38 -0700
committerThai Duong <thaidn@google.com>2018-04-04 14:26:11 -0700
commit65a8bf1e0a27e3c082e89dbbc124711a9325c1a8 (patch)
tree22ed0180f090da9d8d6cebc20375cc9894db7ce4 /cc/primitive_set.h
parentde220cc69ac7dab4841683f209f746f249988be9 (diff)
downloadtink-65a8bf1e0a27e3c082e89dbbc124711a9325c1a8.tar.gz
Replacing custom ptr_util (make_unique, wrap_unique) with ABSL-calls.
PiperOrigin-RevId: 191626448 GitOrigin-RevId: c23f095013755c09eae995b279db516d2f9020df
Diffstat (limited to 'cc/primitive_set.h')
-rw-r--r--cc/primitive_set.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/primitive_set.h b/cc/primitive_set.h
index 4e5e9b44d..8e81a29dc 100644
--- a/cc/primitive_set.h
+++ b/cc/primitive_set.h
@@ -21,9 +21,9 @@
#include <unordered_map>
#include <vector>
+#include "absl/memory/memory.h"
#include "tink/crypto_format.h"
#include "tink/util/errors.h"
-#include "tink/util/ptr_util.h"
#include "tink/util/statusor.h"
#include "proto/tink.pb.h"
@@ -92,7 +92,7 @@ class PrimitiveSet {
std::string identifier = identifier_result.ValueOrDie();
std::lock_guard<std::mutex> lock(primitives_mutex_);
primitives_[identifier].push_back(
- util::make_unique<Entry<P>>(std::move(primitive),
+ absl::make_unique<Entry<P>>(std::move(primitive),
identifier, key.status()));
return primitives_[identifier].back().get();
}