From b6f4658003c91e8a76738d1ec9436c89fcb08f09 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 2 Apr 2014 18:19:14 +0200 Subject: Use boost::noncopyable Change-Id: Ifeee0632f6e163037bea9ba2ee8d19f050f9a212 --- sal/rtl/bootstrap.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'sal') 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 > -- cgit