Example: warning: class 'ObjecterDispatcher' was previously declared as
a struct [-Wmismatched-tags]
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
friend bool operator>=(const hobject_t&, const hobject_t&);
friend bool operator==(const hobject_t&, const hobject_t&);
friend bool operator!=(const hobject_t&, const hobject_t&);
- friend class ghobject_t;
+ friend struct ghobject_t;
};
WRITE_CLASS_ENCODER(hobject_t)
bool force_new);
ObjecterDispatcher(OSDService *o) : Dispatcher(cct), osd(o) {}
} objecter_dispatcher;
- friend class ObjecterDispatcher;
+ friend struct ObjecterDispatcher;
// -- Watch --
void cancel_copy(CopyOpRef cop, bool requeue);
void cancel_copy_ops(bool requeue);
- friend class C_Copyfrom;
+ friend struct C_Copyfrom;
// -- scrub --
virtual void _scrub(ScrubMap& map);