summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-07-17 20:26:12 +0200
committerMichael Stahl <mstahl@redhat.com>2015-07-17 20:26:58 +0200
commitce6466f5736258b41f7aa892bdc1fc1451f6593d (patch)
treecf14127286b39c06a6f77a5eb3dd40cbe77469b4 /include/svl
parent4b70f9b9354895efff151f323aef687a72c3d8f3 (diff)
svl: try to prevent MSVC from generating copy assignment
Change-Id: I6d03a45b8c86adb96f29ec0f0bc1dd9d2e93bcdf
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/currencytable.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/svl/currencytable.hxx b/include/svl/currencytable.hxx
index b7a074be99dc..964038da3ed7 100644
--- a/include/svl/currencytable.hxx
+++ b/include/svl/currencytable.hxx
@@ -20,7 +20,12 @@ class SVL_DLLPUBLIC NfCurrencyTable
{
typedef std::vector<std::unique_ptr<NfCurrencyEntry>> DataType;
DataType maData;
+
+ NfCurrencyTable(NfCurrencyTable const&) = delete;
+ void operator=(NfCurrencyTable const&) = delete;
+
public:
+ NfCurrencyTable() {}
typedef DataType::iterator iterator;
typedef DataType::const_iterator const_iterator;