7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-11 14:50:11 +00:00

Fix clang warning (need virtual dtor)

This commit is contained in:
John Beard 2024-08-12 11:02:04 +01:00
parent 8a487c2c86
commit f2d2e953f7

View File

@ -38,6 +38,8 @@ using KIGFX::COLOR4D;
class LAYER_PRESENTATION
{
public:
virtual ~LAYER_PRESENTATION() {}
// Return a color index from the layer id
virtual COLOR4D getLayerColor( int aLayer ) const = 0;