diff options
author | Samuel Just <sam.just@inktank.com> | 2012-08-15 14:40:17 -0700 |
---|---|---|
committer | Samuel Just <sam.just@inktank.com> | 2012-08-15 14:40:17 -0700 |
commit | 3e7df78e672d117b9cc636ec4c1aa2cf2f98a1da (patch) | |
tree | 6a38aea056559479e4b15841358a1eff4794d5ca /src/msg/Message.h | |
parent | 24a26c627400d191bbb07cdd3ecfa644c9e313eb (diff) | |
download | ceph-3e7df78e672d117b9cc636ec4c1aa2cf2f98a1da.tar.gz |
PG,Message: move intrusive_ptr_* into top namespace
gcc 4.7 requires that the intrusive_ptr_* functions be in
the same namespace as the templated class.
Signed-off-by: Samuel Just <sam.just@inktank.com>
Diffstat (limited to 'src/msg/Message.h')
-rw-r--r-- | src/msg/Message.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/msg/Message.h b/src/msg/Message.h index 9039a8b44ba..fba50ded027 100644 --- a/src/msg/Message.h +++ b/src/msg/Message.h @@ -454,10 +454,8 @@ inline ostream& operator<<(ostream& out, Message& m) { extern void encode_message(Message *m, uint64_t features, bufferlist& bl); extern Message *decode_message(CephContext *cct, bufferlist::iterator& bl); -namespace boost { - void intrusive_ptr_add_ref(Message *p); - void intrusive_ptr_release(Message *p); -}; +void intrusive_ptr_add_ref(Message *p); +void intrusive_ptr_release(Message *p); #endif |