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

Abramo Bagnara abramo.bagnara at gmail.com
Tue Nov 1 14:43:34 CET 2011


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

Author: Abramo Bagnara <abramo.bagnara at gmail.com>
Date:   Tue Nov  1 14:43:13 2011 +0100

Revert "Avoid anonymous namespaces in header files."

This reverts commit 086a400757aa4867611c023dcda5bc70afbc18b5.

---

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

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




More information about the PPL-devel mailing list