diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-26 16:10:13 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2016-04-26 16:44:10 +0000 |
commit | 2bb6221b39192d23ff0ceac3619461949edb5204 (patch) | |
tree | 8d2008d45de39277da718acea314369e3d319bb0 /sc/inc/refhint.hxx | |
parent | 32cec4ca8bf1e09dd33aa461984e8e8ae34f4a7c (diff) |
C++11: disable ctors instead of not implementing them (sc)
replace the old declare and don't implement pattern
with C++11 delete keyword
Change-Id: I96c71d512d8dab4ad7c806c2e871604163fc49c1
Reviewed-on: https://gerrit.libreoffice.org/24399
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'sc/inc/refhint.hxx')
-rw-r--r-- | sc/inc/refhint.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/inc/refhint.hxx b/sc/inc/refhint.hxx index 8d00ae1fa2f2..ffbe7fe7bd78 100644 --- a/sc/inc/refhint.hxx +++ b/sc/inc/refhint.hxx @@ -32,12 +32,11 @@ public: private: Type meType; - RefHint(); // disabled - protected: RefHint( Type eType ); public: + RefHint() = delete; virtual ~RefHint() = 0; Type getType() const; |