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:
parent
4791895207
commit
bc6502f491
src
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
class Pipe;
|
||||
|
||||
struct PipeConnection : public Connection {
|
||||
class PipeConnection : public Connection {
|
||||
Pipe* pipe;
|
||||
|
||||
friend class boost::intrusive_ptr<PipeConnection>;
|
||||
|
Loading…
Reference in New Issue
Block a user