1
0
mirror of https://github.com/ceph/ceph synced 2024-12-25 21:03:31 +00:00

fix unmatched struct versus class warnings

these warnings come from clang++

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2015-02-27 16:42:48 +08:00
parent 4791895207
commit bc6502f491
3 changed files with 6 additions and 6 deletions
src
include/rados
librados
msg/simple

View File

@ -30,8 +30,8 @@ namespace librados
struct ObjListCtx;
struct PoolAsyncCompletionImpl;
class RadosClient;
class ListObjectImpl;
struct NObjectIteratorImpl;
struct ListObjectImpl;
class NObjectIteratorImpl;
typedef void *list_ctx_t;
typedef uint64_t auid_t;

View File

@ -40,9 +40,9 @@ inline std::ostream& operator<<(std::ostream& out, const struct ListObjectImpl&
return out;
}
class ObjListCtx;
struct ObjListCtx;
struct NObjectIteratorImpl {
class NObjectIteratorImpl {
public:
NObjectIteratorImpl() {}
~NObjectIteratorImpl();
@ -57,7 +57,7 @@ struct NObjectIteratorImpl {
NObjectIteratorImpl operator++(int); // Postincrement
const ListObject *get_listobjectp() { return &cur_obj; }
friend class IoCtx;
friend class ListObjectImpl;
friend struct ListObjectImpl;
//friend class ListObject;
friend class NObjectIterator;

View File

@ -19,7 +19,7 @@
class Pipe;
struct PipeConnection : public Connection {
class PipeConnection : public Connection {
Pipe* pipe;
friend class boost::intrusive_ptr<PipeConnection>;