]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephfs, tools/cephfs_mirror: migrate from boost::variant to std::variant 63178/head
authorKefu Chai <tchaikov@gmail.com>
Thu, 8 May 2025 06:58:36 +0000 (14:58 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 9 May 2025 14:18:55 +0000 (22:18 +0800)
commit92e41e086a5d604a10cfba022f74c7f4b942d207
treecf254373df2a4253a4ce3cf8c5b55de0ca8f63c5
parent62211303509a46cfd88b2c9757941429fc4b5497
cephfs, tools/cephfs_mirror: migrate from boost::variant to std::variant

Replacing boost::variant with std::variant throughout the cephfs related
codebase. This change is part of our ongoing effort to reduce
third-party dependencies by leveraging C++ standard library
alternatives where possible.

Benefits include:
- Improved code readability and maintainability
- Reduced external dependency surface
- More consistent API usage with other components

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/include/cephfs/metrics/Types.h
src/mds/MetricsHandler.cc
src/tools/cephfs_mirror/ServiceDaemon.cc
src/tools/cephfs_mirror/Types.h