Skip to content

Commit 9571c69

Browse files
committed
Add bilingual_str::clear()
1 parent a926d6d commit 9571c69

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/util/translation.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ struct bilingual_str {
2828
{
2929
return original.empty();
3030
}
31+
32+
void clear()
33+
{
34+
original.clear();
35+
translated.clear();
36+
}
3137
};
3238

3339
inline bilingual_str operator+(bilingual_str lhs, const bilingual_str& rhs)

0 commit comments

Comments
 (0)