aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-05-10 21:28:29 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-05-10 21:28:29 +0300
commit78be8d97d3d750fcfbbe509a72639b7b30b7bd18 (patch)
tree79e96b0a01d0da90b28b631e0ce7ce38bc96570a /src/util
parentda16f95c3fecf4ee1e9a1dc4333b0b92cd981afd (diff)
util: Drop OpOriginal() and OpTranslated()
The current implementation of the Join() allows do not use OpOriginal() and OpTranslated() unary operators at all.
Diffstat (limited to 'src/util')
-rw-r--r--src/util/translation.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/util/translation.h b/src/util/translation.h
index dd60560168..268bcf30a7 100644
--- a/src/util/translation.h
+++ b/src/util/translation.h
@@ -33,10 +33,6 @@ inline bilingual_str operator+(bilingual_str lhs, const bilingual_str& rhs)
/** Mark a bilingual_str as untranslated */
inline bilingual_str Untranslated(std::string original) { return {original, original}; }
-/** Unary operator to return the original */
-inline std::string OpOriginal(const bilingual_str& b) { return b.original; }
-/** Unary operator to return the translation */
-inline std::string OpTranslated(const bilingual_str& b) { return b.translated; }
namespace tinyformat {
template <typename... Args>