diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-02-15 20:54:22 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-16 12:54:45 +0000 |
commit | 01a8bda416d1598f5486f95b6a57d61ff09873ed (patch) | |
tree | c37934d13308426d22599f63bf8666305a6b1f80 /binaryurp/source/readerstate.hxx | |
parent | boost::foo_ptr->std::foo_ptr (diff) | |
download | core-01a8bda416d1598f5486f95b6a57d61ff09873ed.tar.gz core-01a8bda416d1598f5486f95b6a57d61ff09873ed.zip |
boost::noncopyable->'= delete'
Change-Id: If0f898a1e912fcd2095d8ba88b2b8046596e16ea
Diffstat (limited to 'binaryurp/source/readerstate.hxx')
-rw-r--r-- | binaryurp/source/readerstate.hxx | 11 |
1 files changed, 7 insertions, 4 deletions
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]; }; |