Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r53067 - trunk/boost/test/impl
From: gennadiy.rozental_at_[hidden]
Date: 2009-05-17 03:16:36


Author: rogeeff
Date: 2009-05-17 03:16:35 EDT (Sun, 17 May 2009)
New Revision: 53067
URL: http://svn.boost.org/trac/boost/changeset/53067

Log:
make signal_action default constructible
Text files modified:
   trunk/boost/test/impl/execution_monitor.ipp | 11 ++++++++---
   1 files changed, 8 insertions(+), 3 deletions(-)

Modified: trunk/boost/test/impl/execution_monitor.ipp
==============================================================================
--- trunk/boost/test/impl/execution_monitor.ipp (original)
+++ trunk/boost/test/impl/execution_monitor.ipp 2009-05-17 03:16:35 EDT (Sun, 17 May 2009)
@@ -522,7 +522,8 @@
     typedef struct sigaction* sigaction_ptr;
 public:
     //Constructor
- explicit signal_action( int sig, bool install, bool attach_dbg, char* alt_stack );
+ signal_action();
+ signal_action( int sig, bool install, bool attach_dbg, char* alt_stack );
     ~signal_action();
 
 private:
@@ -535,6 +536,12 @@
 
 //____________________________________________________________________________//
 
+signal_action::signal_action()
+: m_installed( false )
+{}
+
+//____________________________________________________________________________//
+
 signal_action::signal_action( int sig, bool install, bool attach_dbg, char* alt_stack )
 : m_sig( sig )
 , m_installed( install )
@@ -611,9 +618,7 @@
     signal_action m_SEGV_action;
     signal_action m_BUS_action;
     signal_action m_CHLD_action;
-#ifdef BOOST_TEST_CATCH_SIGPOLL
     signal_action m_POLL_action;
-#endif
     signal_action m_ABRT_action;
     signal_action m_ALRM_action;
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk