Skip to content

Commit 67ff11f

Browse files
authored
Merge pull request ceph#58897 from Matan-B/wip-matanb-crimson-string-format
crimson/common/tri_mutex: avoid hobject_t formatting Reviewed-by: Xuehan Xu <[email protected]>
2 parents 1cf90e4 + 1251345 commit 67ff11f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/crimson/common/tri_mutex.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ class tri_mutex : private read_lock,
101101
}
102102
}
103103

104-
const hobject_t &get_name() const{
105-
return name;
104+
std::string get_name() const{
105+
return name.to_str();
106106
}
107107

108108
private:

0 commit comments

Comments
 (0)