]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/spirit/home/karma/action/action.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / spirit / home / karma / action / action.hpp
index 23d621a138d4341324b1f7562a5ea8e7a601a4d7..a20ee1cedbe266914cdbf31795cf6153b9433f9a 100644 (file)
@@ -53,16 +53,14 @@ namespace boost { namespace spirit { namespace karma
           , Attribute const& attr_) const
         {
             typedef typename attribute<Context, unused_type>::type attr_type;
-            typedef traits::make_attribute<attr_type, Attribute> make_attribute;
 
             // create a attribute if none is supplied
             // this creates a _copy_ of the attribute because the semantic
             // action will likely change parts of this
             typedef traits::transform_attribute<
-                typename make_attribute::type, attr_type, domain> transform;
+                Attribute const, attr_type, domain> transform;
 
-            typename transform::type attr = 
-                traits::pre_transform<domain, attr_type>(make_attribute::call(attr_));
+            attr_type attr = transform::pre(attr_);
 
             // call the function, passing the attribute, the context and a bool 
             // flag that the client can set to false to fail generating.