diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-07-08 07:45:43 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-07-08 10:53:10 +0000 |
commit | d44c1c2ca6072aae9ceea4be6796eeb15b7bed56 (patch) | |
tree | 6f0707251aba5e5ccd1c26371370217d139e0bb2 /include | |
parent | f80e6b9eade543bd1ebc4be4ae2ad5f3a1f8b643 (diff) |
LinkParamNone can be complete but uninstantiatable
Change-Id: I39bd23cd95ff97c6aeb00c9b02901ad6262767c1
Reviewed-on: https://gerrit.libreoffice.org/27031
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/tools/link.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/tools/link.hxx b/include/tools/link.hxx index 3eaea7b1ec31..c37dd1cfa25d 100644 --- a/include/tools/link.hxx +++ b/include/tools/link.hxx @@ -108,9 +108,8 @@ private: void * instance_; }; - -// nondefined class used to indicate that the Call() parameter is not in use. -class LinkParamNone; +// Class used to indicate that the Call() parameter is not in use: +class LinkParamNone { LinkParamNone() = delete; }; namespace tools { namespace detail { |