summaryrefslogtreecommitdiff
path: root/src/utils/translation
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-10 03:29:39 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-10 03:29:39 +0300
commit1d3118ec21f537695dc0e6a9608acd67396d0a51 (patch)
tree5cf9229b2d23f2a7a584b5fed9aaead306df6496 /src/utils/translation
parentdd996d01676d7dca3eec442b14c4966ba0bb0935 (diff)
downloadplus-1d3118ec21f537695dc0e6a9608acd67396d0a51.tar.gz
plus-1d3118ec21f537695dc0e6a9608acd67396d0a51.tar.bz2
plus-1d3118ec21f537695dc0e6a9608acd67396d0a51.tar.xz
plus-1d3118ec21f537695dc0e6a9608acd67396d0a51.zip
Delete copy constructor from other classes.
Diffstat (limited to 'src/utils/translation')
-rw-r--r--src/utils/translation/podict.h2
-rw-r--r--src/utils/translation/poparser.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/translation/podict.h b/src/utils/translation/podict.h
index 4a62c6da8..d1f0a9677 100644
--- a/src/utils/translation/podict.h
+++ b/src/utils/translation/podict.h
@@ -33,6 +33,8 @@ class PoDict final
public:
PoDict(std::string lang);
+ A_DELETE_COPY(PoDict);
+
~PoDict();
const std::string getStr(const std::string &str);
diff --git a/src/utils/translation/poparser.h b/src/utils/translation/poparser.h
index 274591d3b..a0ffc2669 100644
--- a/src/utils/translation/poparser.h
+++ b/src/utils/translation/poparser.h
@@ -33,6 +33,8 @@ class PoParser final
public:
PoParser();
+ A_DELETE_COPY(PoParser);
+
PoDict *load(const std::string &lang,
const std::string &fileName = "",
PoDict *const dict = nullptr);