diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-11-12 13:59:59 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-11-14 10:14:55 +0100 |
commit | 1110e665215bacadf639f2303f2bb262ea16851f (patch) | |
tree | 44ad6b8d131b1d52de7f901e0057768738d87308 /sal | |
parent | 43796f03e97fa1f61c66ba12c69c2ece1d6d3870 (diff) |
-Werror,-Wunused-member-function
Change-Id: Id218a6123037bf624044a6297edaede924bd4a9a
Diffstat (limited to 'sal')
-rw-r--r-- | sal/rtl/bootstrap.cxx | 5 |
1 files 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 <rtl/uri.hxx> #include "rtl/allocator.hxx" +#include <boost/noncopyable.hpp> #include <boost/unordered_map.hpp> #include <list> @@ -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; }; |