diff options
author | Roberto Bagnara <bagnara@cs.unipr.it> | 2012-02-23 20:01:53 +0100 |
---|---|---|
committer | Roberto Bagnara <bagnara@cs.unipr.it> | 2012-02-23 20:01:53 +0100 |
commit | e8d622c7f000c31be848de1f6cb181a28d842fd8 (patch) | |
tree | acd4ab9c41b7fd411b036e17960814b332da02e5 /src/initializer.hh | |
parent | f26f9957b54a3e328e9dd9562cf95ec96f503058 (diff) | |
download | ppl-e8d622c7f000c31be848de1f6cb181a28d842fd8.tar.gz ppl-e8d622c7f000c31be848de1f6cb181a28d842fd8.tar.bz2 ppl-e8d622c7f000c31be848de1f6cb181a28d842fd8.zip |
Avoid unnamed namespace in header file.
Detected by ECLAIR service hedrfile.
Diffstat (limited to 'src/initializer.hh')
-rw-r--r-- | src/initializer.hh | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/initializer.hh b/src/initializer.hh index 9e6f3c188..1e0cb6ef7 100644 --- a/src/initializer.hh +++ b/src/initializer.hh @@ -27,17 +27,13 @@ site: http://bugseng.com/products/ppl/ . */ #include "Init.defs.hh" #ifndef PPL_NO_AUTOMATIC_INITIALIZATION -namespace { -Parma_Polyhedra_Library::Init Parma_Polyhedra_Library_initializer; +static Parma_Polyhedra_Library::Init Parma_Polyhedra_Library_initializer; -} // namespace #else -namespace { -Parma_Polyhedra_Library::Init* Parma_Polyhedra_Library_initializer_p; +static Parma_Polyhedra_Library::Init* Parma_Polyhedra_Library_initializer_p; -} // namespace #endif namespace Parma_Polyhedra_Library { |