- clkClsAddr, optLogStr(clkCls->name()));
- }
-
- break;
- case _ClkClsExpectation::ORIG_ISNT_UNIX_EPOCH_AND_NO_UUID:
- BT_ASSERT_DBG(!_mExpectedClkClsUuid);
- BT_ASSERT_DBG(_mExpectedClkCls);
-
- if (clkCls->libObjPtr() != _mExpectedClkCls->libObjPtr()) {
- BT_CPPLOGE_APPEND_CAUSE_AND_THROW(
- bt2::Error,
- "Unexpected clock class: "
- "expected-clock-class-addr={}, expected-clock-class-name={}, "
- "actual-clock-class-addr={}, actual-clock-class-name={}",
- fmt::ptr(_mExpectedClkCls->libObjPtr()), optLogStr(_mExpectedClkCls->name()),
- clkClsAddr, optLogStr(clkCls->name()));
- }
-
- break;
- case _ClkClsExpectation::ORIG_ISNT_UNIX_EPOCH_AND_SPEC_UUID:
- BT_ASSERT_DBG(_mExpectedClkClsUuid);
- BT_ASSERT_DBG(!_mExpectedClkCls);
+ fmt::ptr(actualClockCls->libObjPtr()),
+ actualClockCls->name());