Skip to content

Commit c5763ef

Browse files
mds: operator=() should return 'CDentry&'
Fixes: https://tracker.ceph.com/issues/73419 Signed-off-by: Edwin Rodriguez <[email protected]>
1 parent 353eaff commit c5763ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mds/CDentry.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ class CDentry : public MDSCacheObject, public LRUObject, public Counter<CDentry>
250250

251251
// copy cons
252252
CDentry(const CDentry& m);
253-
const CDentry& operator= (const CDentry& right);
253+
CDentry& operator=(const CDentry& right) = delete;
254254

255255
// misc
256256
void make_trimmed_path_string(std::string& s, bool projected,

0 commit comments

Comments
 (0)