RCU
[folly.git] / folly / fibers / BoostContextCompatibility.h
index 2f6cc127e32c29708051fe32cd91827708ab9df9..5531684adaed2864ad71c16c61ff2003954674cc 100644 (file)
@@ -106,9 +106,9 @@ class FiberImpl {
         boost::context::jump_fcontext(&fiberContext_, mainContext_, 0);
 #elif BOOST_VERSION >= 105200
     auto context =
-        boost::context::jump_fcontext(fiberContext_, &mainContext_, nullptr);
+        boost::context::jump_fcontext(fiberContext_, &mainContext_, 0);
 #else
-    auto context = jump_fcontext(&fiberContext_, &mainContext_, nullptr);
+    auto context = jump_fcontext(&fiberContext_, &mainContext_, 0);
 #endif
     DCHECK_EQ(this, reinterpret_cast<FiberImpl*>(context));
   }