]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr: migrate from boost::variant to std::variant 62977/head
authorKefu Chai <tchaikov@gmail.com>
Fri, 25 Apr 2025 15:53:08 +0000 (23:53 +0800)
committerKefu Chai <tchaikov@gmail.com>
Sun, 27 Apr 2025 12:09:45 +0000 (20:09 +0800)
commitd8141f4302ad7631a3a068e5017e9b018d6cb741
treeb1bab364138581c7cd46f9c827b3b6f4b7ef368b
parent58cdb202ed8e0896164d4665f20b7565e72823f0
mgr: migrate from boost::variant to std::variant

Replace `boost::variant` with `std::variant` as part of our effort to reduce
third-party dependencies in favor of C++ standard library alternatives.

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/crimson/osd/osd.cc
src/mds/MetricAggregator.cc
src/mgr/DaemonServer.cc
src/mgr/MDSPerfMetricCollector.cc
src/mgr/MetricTypes.h
src/mgr/MgrClient.cc
src/mgr/OSDPerfMetricCollector.cc
src/osd/OSD.cc