]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/chrono/detail/inlined/mac/thread_clock.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / chrono / detail / inlined / mac / thread_clock.hpp
index 690458f41cfeee6cd3474f558aa7be5ceb5fc98b..74b820ace698972a22f49e531c1eb380c3b3d70d 100644 (file)
@@ -58,21 +58,21 @@ namespace boost { namespace chrono {
         mach_msg_type_number_t count = THREAD_BASIC_INFO_COUNT;
         if ( thread_info(port, THREAD_BASIC_INFO, (thread_info_t)&info, &count) != KERN_SUCCESS )
         {
-            if (BOOST_CHRONO_IS_THROWS(ec))
+            if (::boost::chrono::is_throws(ec))
             {
                 boost::throw_exception(
                         system::system_error(
                                 EINVAL,
-                                BOOST_CHRONO_SYSTEM_CATEGORY,
+                                ::boost::system::system_category(),
                                 "chrono::thread_clock" ));
             }
             else
             {
-                ec.assign( errno, BOOST_CHRONO_SYSTEM_CATEGORY );
+                ec.assign( errno, ::boost::system::system_category() );
                 return time_point();
             }
         }
-        if (!BOOST_CHRONO_IS_THROWS(ec))
+        if (!::boost::chrono::is_throws(ec))
         {
             ec.clear();
         }