]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/test/impl/progress_monitor.ipp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / test / impl / progress_monitor.ipp
index 34149745cf72e9fc9bfd8914fe0926c30d66a3bc..998aa26b2875ef599408df408a88f472b67c918a 100644 (file)
@@ -52,7 +52,7 @@ struct progress_display {
              << "\n|----|----|----|----|----|----|----|----|----|----|"
              << std::endl;
 
-        if( !m_expected_count ) 
+        if( !m_expected_count )
             m_expected_count = 1;  // prevent divide by zero
     }
 
@@ -63,7 +63,7 @@ struct progress_display {
 
         // use of floating point ensures that both large and small counts
         // work correctly.  static_cast<>() is also used several places
-        // to suppress spurious compiler warnings. 
+        // to suppress spurious compiler warnings.
         unsigned int tics_needed =  static_cast<unsigned int>(
             (static_cast<double>(m_count)/m_expected_count)*50.0 );
 
@@ -121,6 +121,10 @@ progress_monitor_impl& s_pm_impl() { static progress_monitor_impl the_inst; retu
 
 //____________________________________________________________________________//
 
+BOOST_TEST_SINGLETON_CONS_IMPL(progress_monitor_t)
+
+//____________________________________________________________________________//
+
 void
 progress_monitor_t::test_start( counter_t test_cases_amount )
 {