mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
Don't actually implement __cxa_pure_virtual, we'd prefer to have link-time errors rather than classes with pure virtual functions.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1341 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
973879501b
commit
1dabb6c9ce
@ -21,10 +21,14 @@ void operator delete(void *p)
|
||||
if (p) free(p);
|
||||
}
|
||||
|
||||
#if 0
|
||||
// We should never need this, as classes should never be defined
|
||||
// with pure virtual member functions
|
||||
extern "C" void __cxa_pure_virtual()
|
||||
{
|
||||
while (1);
|
||||
}
|
||||
#endif
|
||||
|
||||
void * operator new[](size_t size)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user