Game & Print Kits: Fix GCC 11 warnings.
This commit is contained in:
parent
f7338bb6a0
commit
e4f18add74
|
@ -59,7 +59,7 @@ public:
|
|||
// After construction reference count is 1
|
||||
Object() : fRefCount(1) { }
|
||||
// dtor should be private, but ie. ObjectList requires a public dtor!
|
||||
virtual ~Object() { };
|
||||
virtual ~Object();
|
||||
|
||||
// thread-safe as long as thread that calls Acquire has already
|
||||
// a reference to the object
|
||||
|
|
|
@ -618,7 +618,7 @@ BWindowScreen::_InitData(uint32 space, uint32 attributes)
|
|||
if (fDebugSem < B_OK)
|
||||
throw (status_t)fDebugSem;
|
||||
|
||||
memcpy(fPalette, screen.ColorMap()->color_list, sizeof(fPalette));
|
||||
memcpy((void*)fPalette, screen.ColorMap()->color_list, sizeof(fPalette));
|
||||
fActivateState = false;
|
||||
fWorkState = true;
|
||||
|
||||
|
|
|
@ -70,6 +70,11 @@ status_t TestForAddonExistence(const char* name, directory_which which, const ch
|
|||
return err;
|
||||
}
|
||||
|
||||
// Implementation of Object
|
||||
|
||||
Object::~Object() {
|
||||
}
|
||||
|
||||
// Implementation of AutoReply
|
||||
|
||||
AutoReply::AutoReply(BMessage* sender, uint32 what)
|
||||
|
|
Loading…
Reference in New Issue