From 01a8bda416d1598f5486f95b6a57d61ff09873ed Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 15 Feb 2015 20:54:22 +0000 Subject: boost::noncopyable->'= delete' Change-Id: If0f898a1e912fcd2095d8ba88b2b8046596e16ea --- binaryurp/source/readerstate.hxx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'binaryurp/source/readerstate.hxx') diff --git a/binaryurp/source/readerstate.hxx b/binaryurp/source/readerstate.hxx index 21ba8503c1d5..1ce1d5a4b783 100644 --- a/binaryurp/source/readerstate.hxx +++ b/binaryurp/source/readerstate.hxx @@ -22,7 +22,6 @@ #include "sal/config.h" -#include "boost/noncopyable.hpp" #include "rtl/byteseq.hxx" #include "rtl/ustring.hxx" #include "typelib/typedescription.hxx" @@ -31,11 +30,15 @@ namespace binaryurp { -struct ReaderState: private boost::noncopyable { - com::sun::star::uno::TypeDescription typeCache[cache::size]; +struct ReaderState { +private: + ReaderState(const ReaderState&) SAL_DELETED_FUNCTION; + ReaderState& operator=(const ReaderState&) SAL_DELETED_FUNCTION; +public: + ReaderState() {} + com::sun::star::uno::TypeDescription typeCache[cache::size]; OUString oidCache[cache::size]; - rtl::ByteSequence tidCache[cache::size]; }; -- cgit v1.2.3