diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b11981..559d4dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -181,9 +181,6 @@ jobs: container: ubuntu:24.04 os: ubuntu-latest install: clang-19 - - toolset: clang - cxxstd: "11,14,17,20,2b" - os: macos-13 - toolset: clang cxxstd: "11,14,17,20,2b" os: macos-14 diff --git a/include/boost/flyweight/hashed_factory.hpp b/include/boost/flyweight/hashed_factory.hpp index 899eb61..a316a67 100644 --- a/include/boost/flyweight/hashed_factory.hpp +++ b/include/boost/flyweight/hashed_factory.hpp @@ -1,4 +1,4 @@ -/* Copyright 2006-2014 Joaquin M Lopez Munoz. +/* Copyright 2006-2025 Joaquin M Lopez Munoz. * Distributed under the Boost Software License, Version 1.0. * (See accompanying file LICENSE_1_0.txt or copy at * http://www.boost.org/LICENSE_1_0.txt) @@ -40,23 +40,21 @@ template< > class hashed_factory_class:public factory_marker { - struct index_list: - boost::mpl::vector1< - multi_index::hashed_unique< - multi_index::identity, - typename boost::mpl::if_< - mpl::is_na, - hash, - Hash - >::type, - typename boost::mpl::if_< - mpl::is_na, - std::equal_to, - Pred - >::type - > + typedef multi_index::indexed_by< + multi_index::hashed_unique< + multi_index::identity, + typename boost::mpl::if_< + mpl::is_na, + hash, + Hash + >::type, + typename boost::mpl::if_< + mpl::is_na, + std::equal_to, + Pred + >::type > - {}; + > index_list; typedef multi_index::multi_index_container< Entry,