]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/spirit/home/karma/nonterminal/rule.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / spirit / home / karma / nonterminal / rule.hpp
index ab7db1265d76ba7e48a78925782e8c0559d646cf..4a8604a65690c366bf4425132e93d42d79d7af85 100644 (file)
@@ -286,15 +286,11 @@ namespace boost { namespace spirit { namespace karma
             if (f)
             {
                 // Create an attribute if none is supplied.
-                typedef traits::make_attribute<attr_type, Attribute>
-                    make_attribute;
                 typedef traits::transform_attribute<
-                    typename make_attribute::type, attr_type, domain>
+                    Attribute const, attr_type, domain>
                 transform;
 
-                typename transform::type attr_ =
-                    traits::pre_transform<domain, attr_type>(
-                        make_attribute::call(attr));
+                typename transform::type attr_ = transform::pre(attr);
 
                 // If you are seeing a compilation error here, you are probably
                 // trying to use a rule or a grammar which has inherited
@@ -326,15 +322,11 @@ namespace boost { namespace spirit { namespace karma
             if (f)
             {
                 // Create an attribute if none is supplied.
-                typedef traits::make_attribute<attr_type, Attribute>
-                    make_attribute;
                 typedef traits::transform_attribute<
-                    typename make_attribute::type, attr_type, domain>
+                    Attribute const, attr_type, domain>
                 transform;
 
-                typename transform::type attr_ =
-                    traits::pre_transform<domain, attr_type>(
-                        make_attribute::call(attr));
+                typename transform::type attr_ = transform::pre(attr);
 
                 // If you are seeing a compilation error here, you are probably
                 // trying to use a rule or a grammar which has inherited