summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-02 18:19:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-03 08:20:19 +0200
commitb6f4658003c91e8a76738d1ec9436c89fcb08f09 (patch)
treeabb397eee9d36cd80eff55e4e8bbb7f774cb6350 /sal
parentd8ae59e097b3fca29f071d1a792cdb98ad8139cf (diff)
Use boost::noncopyable
Change-Id: Ifeee0632f6e163037bea9ba2ee8d19f050f9a212
Diffstat (limited to 'sal')
-rw-r--r--sal/rtl/bootstrap.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/sal/rtl/bootstrap.cxx b/sal/rtl/bootstrap.cxx
index e33df5e1d2ef..e31790d96256 100644
--- a/sal/rtl/bootstrap.cxx
+++ b/sal/rtl/bootstrap.cxx
@@ -451,7 +451,7 @@ Bootstrap_Impl * get_static_bootstrap_handle() SAL_THROW(())
return s_handle;
}
-struct FundamentalIniData {
+struct FundamentalIniData: private boost::noncopyable {
rtlBootstrapHandle ini;
FundamentalIniData() {
@@ -466,10 +466,6 @@ struct FundamentalIniData {
}
~FundamentalIniData() { rtl_bootstrap_args_close(ini); }
-
-private:
- FundamentalIniData(FundamentalIniData &); // not defined
- void operator =(FundamentalIniData &); // not defined
};
struct FundamentalIni: public rtl::Static< FundamentalIniData, FundamentalIni >