summaryrefslogtreecommitdiff
path: root/configmgr/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-01 09:48:16 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-02 07:03:08 +0100
commit8467d764187691f53e66d3568270197b162332d8 (patch)
tree4516bb3ea935427d4549ce09615a22bf5663096a /configmgr/source
parent9ec1f722caedbeb04f96258f23442f8ee92a42be (diff)
fix signatures of deleted copy/assign operators
Change-Id: Id1a0749b78a7021be3564487fb974d7084705129 Reviewed-on: https://gerrit.libreoffice.org/62718 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'configmgr/source')
-rw-r--r--configmgr/source/dconf.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/configmgr/source/dconf.cxx b/configmgr/source/dconf.cxx
index 659f217071ec..c2b8c2cd1efc 100644
--- a/configmgr/source/dconf.cxx
+++ b/configmgr/source/dconf.cxx
@@ -128,8 +128,8 @@ public:
T * get() const { return object_; }
private:
- GObjectHolder(GObjectHolder &) = delete;
- void operator =(GObjectHolder) = delete;
+ GObjectHolder(GObjectHolder const &) = delete;
+ GObjectHolder& operator =(GObjectHolder const &) = delete;
T * object_;
};
@@ -150,8 +150,8 @@ public:
GVariant * get() const { return variant_; }
private:
- GVariantHolder(GVariantHolder &) = delete;
- void operator =(GVariantHolder) = delete;
+ GVariantHolder(GVariantHolder const &) = delete;
+ GVariantHolder& operator =(GVariantHolder const &) = delete;
void unref() {
if (variant_ != nullptr) {
@@ -175,8 +175,8 @@ public:
GVariantType * get() const { return type_; }
private:
- GVariantTypeHolder(GVariantTypeHolder &) = delete;
- void operator =(GVariantTypeHolder) = delete;
+ GVariantTypeHolder(GVariantTypeHolder const &) = delete;
+ GVariantTypeHolder& operator =(GVariantTypeHolder const &) = delete;
GVariantType * type_;
};
@@ -190,8 +190,8 @@ public:
gchar ** get() const { return array_; }
private:
- StringArrayHolder(StringArrayHolder &) = delete;
- void operator =(StringArrayHolder) = delete;
+ StringArrayHolder(StringArrayHolder const &) = delete;
+ StringArrayHolder& operator =(StringArrayHolder const &) = delete;
gchar ** array_;
};
@@ -211,8 +211,8 @@ public:
DConfChangeset * get() const { return changeset_; }
private:
- ChangesetHolder(ChangesetHolder &) = delete;
- void operator =(ChangesetHolder) = delete;
+ ChangesetHolder(ChangesetHolder const &) = delete;
+ ChangesetHolder& operator =(ChangesetHolder const &) = delete;
DConfChangeset * changeset_;
};