summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-09-26 10:54:04 +0200
committerCarl Hetherington <cth@carlh.net>2020-09-26 10:54:04 +0200
commit41d9b6acca8775b5c04c0d415a3e4cd8af09cfe6 (patch)
tree3abd6e96772891d153e51caf320748ec536b5820 /src
parent25526a5b4a5b6e320d78b38626f034fad0f1b211 (diff)
Missing virtual destructor.
Diffstat (limited to 'src')
-rw-r--r--src/language_tag.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/language_tag.h b/src/language_tag.h
index 74b4a8a7..d4d41fd7 100644
--- a/src/language_tag.h
+++ b/src/language_tag.h
@@ -78,6 +78,8 @@ public:
class Subtag
{
public:
+ virtual ~Subtag () {}
+
std::string subtag () const {
return _subtag;
}