Opened 19 years ago

Last modified 5 years ago

#546 closed bug

Unimplemented copy constructors, assignment operators — at Version 3

Reported by: marcusoverhagen Owned by: axeld
Priority: normal Milestone: R1/beta2
Component: - General Version: R1/alpha2
Keywords: Cc: diver
Blocked By: Blocking:
Platform: All

Description (last modified by pulkomandy)

The assignment operator and copy constructor should be unimplemented, thats the whole reason for them beeing private.

Please remove implementations like

BLooper::BLooper(const BLooper&)
BLooper& BLooper::operator=(const BLooper& )
BHandler::BHandler(const BHandler &)
BHandler & BHandler::operator=(const BHandler &)
BApplication::BApplication(const BApplication &rhs)
BApplication & BApplication::operator=(const BApplication &rhs)

etc.

Change History (3)

comment:1 by axeld, 19 years ago

I agree with you that it's not really useful, but since R5 exports those methods, we might want to keep them around (even if #ifdef'd out).

comment:2 by diver, 19 years ago

Cc: diver added

comment:3 by pulkomandy, 14 years ago

Description: modified (diff)
Platform: All
Version: R1/alpha2
Note: See TracTickets for help on using tickets.