[libcxx] r193962 - Mark __does_policy_contain as 'inline'. Thanks to Chongyu Zhu for the catch

Marshall Clow mclow.lists at gmail.com
Sun Nov 3 12:07:47 PST 2013


Author: marshall
Date: Sun Nov  3 14:07:47 2013
New Revision: 193962

URL: http://llvm.org/viewvc/llvm-project?rev=193962&view=rev
Log:
Mark __does_policy_contain as 'inline'. Thanks to Chongyu Zhu for the catch

Modified:
    libcxx/trunk/include/future

Modified: libcxx/trunk/include/future
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/future?rev=193962&r1=193961&r2=193962&view=diff
==============================================================================
--- libcxx/trunk/include/future (original)
+++ libcxx/trunk/include/future Sun Nov  3 14:07:47 2013
@@ -2331,7 +2331,7 @@ private:
     }
 };
 
-bool __does_policy_contain(launch __policy, launch __value )
+inline bool __does_policy_contain(launch __policy, launch __value )
 { return (int(__policy) & int(__value)) != 0; }
 
 template <class _Fp, class... _Args>





More information about the cfe-commits mailing list