From 1110e665215bacadf639f2303f2bb262ea16851f Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Tue, 12 Nov 2013 13:59:59 +0100 Subject: -Werror,-Wunused-member-function Change-Id: Id218a6123037bf624044a6297edaede924bd4a9a --- sal/rtl/bootstrap.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sal/rtl/bootstrap.cxx b/sal/rtl/bootstrap.cxx index 3826a2b6fdda..aa48f846e4c4 100644 --- a/sal/rtl/bootstrap.cxx +++ b/sal/rtl/bootstrap.cxx @@ -39,6 +39,7 @@ #include #include "rtl/allocator.hxx" +#include #include #include @@ -628,7 +629,7 @@ void Bootstrap_Impl::expandValue( namespace { -struct bootstrap_map { +struct bootstrap_map: private boost::noncopyable { typedef boost::unordered_map< rtl::OUString, Bootstrap_Impl *, rtl::OUStringHash, std::equal_to< rtl::OUString >, @@ -652,8 +653,6 @@ struct bootstrap_map { } private: - bootstrap_map(); // not defined - static t * m_map; }; -- cgit