summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zafman <david.zafman@inktank.com>2013-08-20 12:24:40 -0700
committerDavid Zafman <david.zafman@inktank.com>2013-09-23 11:57:10 -0700
commitc4bcb469adc0787b116d85aa4a78f16d30970125 (patch)
tree25244ff4b5762c50318324e33314c47670d84f21
parent1c0aecbe4a90072a588f0f741717c2a017a632d1 (diff)
downloadceph-c4bcb469adc0787b116d85aa4a78f16d30970125.tar.gz
common: Fix get_namespace() definition in hobject_t
Signed-off-by: David Zafman <david.zafman@inktank.com>
-rw-r--r--src/common/hobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/hobject.h b/src/common/hobject.h
index 633e471dffc..f455e9f780a 100644
--- a/src/common/hobject.h
+++ b/src/common/hobject.h
@@ -138,7 +138,7 @@ public:
(*this) = temp;
}
- string get_namespace() const {
+ const string &get_namespace() const {
return nspace;
}