summaryrefslogtreecommitdiff
path: root/absl/random/internal/gaussian_distribution_gentables.cc
diff options
context:
space:
mode:
Diffstat (limited to 'absl/random/internal/gaussian_distribution_gentables.cc')
-rw-r--r--absl/random/internal/gaussian_distribution_gentables.cc14
1 files changed, 10 insertions, 4 deletions
diff --git a/absl/random/internal/gaussian_distribution_gentables.cc b/absl/random/internal/gaussian_distribution_gentables.cc
index 85247966..16a23cb2 100644
--- a/absl/random/internal/gaussian_distribution_gentables.cc
+++ b/absl/random/internal/gaussian_distribution_gentables.cc
@@ -110,8 +110,12 @@ void TableGenerator::Print(std::ostream* os) {
"\n"
"#include \"absl/random/gaussian_distribution.h\"\n"
"\n"
- "namespace absl {\n"
- "namespace random_internal {\n"
+ // "namespace " and "absl" are broken apart so as not to conflict with
+ // script that adds the LTS inline namespace.
+ "namespace "
+ "absl {\n"
+ "namespace "
+ "random_internal {\n"
"\n"
"const gaussian_distribution_base::Tables\n"
" gaussian_distribution_base::zg_ = {\n";
@@ -120,8 +124,10 @@ void TableGenerator::Print(std::ostream* os) {
FormatArrayContents(os, tables_.f);
*os << "};\n"
"\n"
- "} // namespace random_internal\n"
- "} // namespace absl\n"
+ "} // namespace "
+ "random_internal\n"
+ "} // namespace "
+ "absl\n"
"\n"
"// clang-format on\n"
"// END GENERATED CODE";