Skip to content

Commit

Permalink
osd: more constness to spg_t
Browse files Browse the repository at this point in the history
Signed-off-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov committed Feb 25, 2016
1 parent b43d480 commit f236b7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osd/osd_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ struct spg_t {
DECODE_FINISH(bl);
}

hobject_t make_temp_object(const string& name) {
hobject_t make_temp_object(const string& name) const {
return hobject_t(object_t(name), "", CEPH_NOSNAP,
pgid.ps(),
hobject_t::POOL_TEMP_START - pgid.pool(), "");
Expand Down

0 comments on commit f236b7d

Please sign in to comment.