X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Fboost%2Fspirit%2Fhome%2Fkarma%2Fnonterminal%2Frule.hpp;h=4a8604a65690c366bf4425132e93d42d79d7af85;hb=92f5a8d42d07f9929ae4fa7e01342fe8d96808a8;hp=ab7db1265d76ba7e48a78925782e8c0559d646cf;hpb=a0324939f9d0e1905d5df8f57442f09dc70af83d;p=ceph.git diff --git a/ceph/src/boost/boost/spirit/home/karma/nonterminal/rule.hpp b/ceph/src/boost/boost/spirit/home/karma/nonterminal/rule.hpp index ab7db1265..4a8604a65 100644 --- a/ceph/src/boost/boost/spirit/home/karma/nonterminal/rule.hpp +++ b/ceph/src/boost/boost/spirit/home/karma/nonterminal/rule.hpp @@ -286,15 +286,11 @@ namespace boost { namespace spirit { namespace karma if (f) { // Create an attribute if none is supplied. - typedef traits::make_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( - 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 - 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( - 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