Missing virtual destructor.
authorCarl Hetherington <cth@carlh.net>
Sat, 26 Sep 2020 08:54:04 +0000 (10:54 +0200)
committerCarl Hetherington <cth@carlh.net>
Sat, 26 Sep 2020 08:54:04 +0000 (10:54 +0200)
src/language_tag.h

index 74b4a8a77023a774ed2cc31234388d8dd0715bb1..d4d41fd78fedfc52c21a6e44f5a46c8fe76749d5 100644 (file)
@@ -78,6 +78,8 @@ public:
        class Subtag
        {
        public:
+               virtual ~Subtag () {}
+
                std::string subtag () const {
                        return _subtag;
                }