diff options
Diffstat (limited to 'src/util/translation.h')
-rw-r--r-- | src/util/translation.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/translation.h b/src/util/translation.h index 99899ef3c2..62388b568c 100644 --- a/src/util/translation.h +++ b/src/util/translation.h @@ -28,6 +28,12 @@ struct bilingual_str { { return original.empty(); } + + void clear() + { + original.clear(); + translated.clear(); + } }; inline bilingual_str operator+(bilingual_str lhs, const bilingual_str& rhs) |