From 2d5ecd2bb828ef6355c6f71875d4388169f1a809 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Mon, 30 Oct 2006 09:36:33 +0000 Subject: [PATCH] remove the constness of the two code strings because this does not pass boost_concept_check with gcc-3.3.4-11: g++ -/usr/include/g++/bits/boost_concept_check.h: In member function ` lyx::IconvProcessor& lyx::IconvProcessor::operator=(const lyx::IconvProcessor&)': /usr/include/g++/bits/boost_concept_check.h:203: instantiated from `void __gnu_cxx::_SGIAssignableConcept<_Tp>::__constraints() [with _Tp = lyx::IconvProcessor]' /usr/include/g++/bits/stl_map.h:94: instantiated from `std::map, std::allocator > >' unicode.C:281: instantiated from here /usr/include/g++/bits/boost_concept_check.h:203: error: non-static const member `const std::string lyx::IconvProcessor::tocode_', can't use default assignment operator /usr/include/g++/bits/boost_concept_check.h:203: error: non-static const member `const std::string lyx::IconvProcessor::fromcode_', can't use default assignment operator git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15612 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/support/unicode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/support/unicode.h b/src/support/unicode.h index 055dd7029d..d0cd8372ac 100644 --- a/src/support/unicode.h +++ b/src/support/unicode.h @@ -41,8 +41,8 @@ private: /// \return true if the processor is ready to use. bool init(); - std::string const tocode_; - std::string const fromcode_; + std::string tocode_; + std::string fromcode_; struct Private; Private * pimpl_; -- 2.39.2