summaryrefslogtreecommitdiff
path: root/absl/random
diff options
context:
space:
mode:
authorGravatar Laramie Leavitt <lar@google.com>2022-06-14 15:24:13 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2022-06-14 15:25:10 -0700
commitae228edc168d9300bb49f72b1388166691fbf20a (patch)
tree3e02394eecf959944e3e8428be61fb1efebd1030 /absl/random
parentd66e0dc6cc3c0ce647a9c238aa30d7b867f87317 (diff)
Make absl::StdSeedSeq an alias for std::seed_seq
PiperOrigin-RevId: 454969441 Change-Id: Ic18d91243ed3aa661ebf47a4c0ea96057aa4092d
Diffstat (limited to 'absl/random')
-rw-r--r--absl/random/BUILD.bazel3
-rw-r--r--absl/random/CMakeLists.txt2
-rw-r--r--absl/random/seed_sequences.h1
3 files changed, 3 insertions, 3 deletions
diff --git a/absl/random/BUILD.bazel b/absl/random/BUILD.bazel
index d983685c..08ecd197 100644
--- a/absl/random/BUILD.bazel
+++ b/absl/random/BUILD.bazel
@@ -100,8 +100,7 @@ cc_library(
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [
":seed_gen_exception",
- "//absl/container:inlined_vector",
- "//absl/random/internal:nonsecure_base",
+ "//absl/base:config",
"//absl/random/internal:pool_urbg",
"//absl/random/internal:salted_seed_seq",
"//absl/random/internal:seed_material",
diff --git a/absl/random/CMakeLists.txt b/absl/random/CMakeLists.txt
index c3f0b450..d04c7081 100644
--- a/absl/random/CMakeLists.txt
+++ b/absl/random/CMakeLists.txt
@@ -223,8 +223,8 @@ absl_cc_library(
LINKOPTS
${ABSL_DEFAULT_LINKOPTS}
DEPS
+ absl::config
absl::inlined_vector
- absl::random_internal_nonsecure_base
absl::random_internal_pool_urbg
absl::random_internal_salted_seed_seq
absl::random_internal_seed_material
diff --git a/absl/random/seed_sequences.h b/absl/random/seed_sequences.h
index ff1340cc..c3af4b00 100644
--- a/absl/random/seed_sequences.h
+++ b/absl/random/seed_sequences.h
@@ -28,6 +28,7 @@
#include <iterator>
#include <random>
+#include "absl/base/config.h"
#include "absl/random/internal/salted_seed_seq.h"
#include "absl/random/internal/seed_material.h"
#include "absl/random/seed_gen_exception.h"