]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/spirit/home/qi/detail/permute_function.hpp
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / boost / boost / spirit / home / qi / detail / permute_function.hpp
index 8b1ed8a5960e857680eea579c536030d1f807241..4366568eb8840f83cbdfefb46e77368d35f74c14 100644 (file)
@@ -43,22 +43,6 @@ namespace boost { namespace spirit { namespace qi { namespace detail
             return false;
         }
 
-        template <typename Component, typename Attribute>
-        bool operator()(Component const& component, boost::optional<Attribute>& attr)
-        {
-            // return true if the parser succeeds and the slot is not yet taken
-            Attribute val;
-            if (!*taken && component.parse(first, last, context, skipper, val))
-            {
-                attr = val;
-                *taken = true;
-                ++taken;
-                return true;
-            }
-            ++taken;
-            return false;
-        }
-
         template <typename Component>
         bool operator()(Component const& component)
         {