]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/spirit/test/lex/token_iterpair.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / spirit / test / lex / token_iterpair.cpp
index 4ca9ecf6b15bc5ef9873729e81cfe41c4ebd61a7..88a039eb537f91aceb3299b986b11e00ea28bf69 100644 (file)
@@ -108,7 +108,6 @@ test_token_ids(int const* ids, std::vector<Token> const& tokens)
         if (*ids == -1)
             return false;           // reached end of expected data
 
-        typename Token::token_value_type const& value (t.value());
         if (t.id() != static_cast<std::size_t>(*ids))        // token id must match
             return false;
         ++ids;
@@ -126,7 +125,6 @@ test_token_states(std::size_t const* states, std::vector<Token> const& tokens)
         if (*states == std::size_t(-1))
             return false;           // reached end of expected data
 
-        typename Token::token_value_type const& value (t.value());
         if (t.state() != *states)            // token state must match
             return false;
         ++states;