diff options
author | 2024-11-13 01:18:45 +0000 | |
---|---|---|
committer | 2024-11-20 23:23:22 +0000 | |
commit | b052e5857c3c1baf69205ae8e8291f5b566faf28 (patch) | |
tree | 4a3ffaa83ecabe17aafed4d3c624b50eb83e4dbb /system/common/metrics.cc | |
parent | 5b2d839b311024806acbfa57f09bc5e10308e4b5 (diff) |
system: Migrate from {fmt} to std::format
Bug: 305066880
Test: m com.android.btservices
Flag: EXEMPT, log change
Change-Id: If1dbab99250a4f62626206fc9f73d27e71ebab56
Diffstat (limited to 'system/common/metrics.cc')
-rw-r--r-- | system/common/metrics.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/common/metrics.cc b/system/common/metrics.cc index 90539a7447..49b73a01c3 100644 --- a/system/common/metrics.cc +++ b/system/common/metrics.cc @@ -42,7 +42,7 @@ #include "osi/include/osi.h" #include "types/raw_address.h" -namespace fmt { +namespace std { template <> struct formatter<android::bluetooth::DirectionEnum> : enum_formatter<android::bluetooth::DirectionEnum> {}; @@ -58,7 +58,7 @@ struct formatter<android::bluetooth::AddressTypeEnum> template <> struct formatter<android::bluetooth::DeviceInfoSrcEnum> : enum_formatter<android::bluetooth::DeviceInfoSrcEnum> {}; -} // namespace fmt +} // namespace std namespace bluetooth { namespace common { |