[PPL-devel] [GIT] ppl/ppl(master): Moved namespace alias declaration.

Roberto Bagnara bagnara at cs.unipr.it
Tue Oct 11 20:23:03 CEST 2011


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

Author: Roberto Bagnara <bagnara at cs.unipr.it>
Date:   Tue Oct 11 20:21:16 2011 +0200

Moved namespace alias declaration.

---

 Watchdog/src/Watchdog.cc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Watchdog/src/Watchdog.cc b/Watchdog/src/Watchdog.cc
index 510f659..3f6ae6f 100644
--- a/Watchdog/src/Watchdog.cc
+++ b/Watchdog/src/Watchdog.cc
@@ -25,8 +25,6 @@ site: http://www.cs.unipr.it/ppl/ . */
 
 #include "Watchdog.defs.hh"
 
-namespace PWL = Parma_Watchdog_Library;
-
 #if PWL_HAVE_DECL_SETITIMER && PWL_HAVE_DECL_SIGACTION
 
 #include <csignal>
@@ -62,6 +60,8 @@ namespace PWL = Parma_Watchdog_Library;
 using std::cerr;
 using std::endl;
 
+namespace PWL = Parma_Watchdog_Library;
+
 // Pass this to getitimer().
 itimerval PWL::Watchdog::current_timer_status;
 




More information about the PPL-devel mailing list