[PPL-devel] [GIT] ppl/ppl(master): Avoid anonymous namespaces in header files.

Roberto Bagnara bagnara at cs.unipr.it
Tue Nov 1 09:00:38 CET 2011


Module: ppl/ppl
Branch: master
Commit: 086a400757aa4867611c023dcda5bc70afbc18b5
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=086a400757aa4867611c023dcda5bc70afbc18b5

Author: Roberto Bagnara <bagnara at cs.unipr.it>
Date:   Tue Nov  1 08:58:44 2011 +0100

Avoid anonymous namespaces in header files.
Detected by ECLAIR service hedrfile.

---

 src/Box.templates.hh |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/Box.templates.hh b/src/Box.templates.hh
index f1ea6c4..a89ce3c 100644
--- a/src/Box.templates.hh
+++ b/src/Box.templates.hh
@@ -2296,7 +2296,9 @@ Box<ITV>::refine_no_check(const Congruence_System& cgs) {
 }
 
 #if 1 // Alternative implementations for propagate_constraint_no_check.
-namespace {
+namespace Implementation {
+
+namespace Boxes {
 
 inline bool
 propagate_constraint_check_result(Result r, Ternary& open) {
@@ -2322,7 +2324,10 @@ propagate_constraint_check_result(Result r, Ternary& open) {
   }
 }
 
-} // namespace
+} // namespace Boxes
+
+} // namespace Implementation
+
 
 template <typename ITV>
 void




More information about the PPL-devel mailing list