OSDN Git Service

Use virtual destructors
authorGlenn Kasten <gkasten@google.com>
Mon, 30 Jan 2012 22:54:39 +0000 (14:54 -0800)
committerGlenn Kasten <gkasten@google.com>
Fri, 3 Feb 2012 22:42:43 +0000 (14:42 -0800)
commitc19e22450e6e3d07594c935c7a9522e85e909e82
tree2a81eb366d10425b83b6bbf9997d9c8813515ea1
parent787bae0578fbaab6219ebf23494866b224d01438
Use virtual destructors

It turns out to be just a comment, as all except AudioMixer are RefBase.

There are only a few performance-sensitive cases where it's worth thinking
about whether you need a virtual destructor, and the headache usually
outweighs the benefit.

Change-Id: I716292f9556ec17c29ce8c76ac8ae602cb496533
services/audioflinger/AudioFlinger.h
services/audioflinger/AudioMixer.h
services/audioflinger/AudioResamplerSinc.h