]> git.lyx.org Git - features.git/commit
remove the constness of the two code strings because this does not pass boost_concept...
authorAbdelrazak Younes <younes@lyx.org>
Mon, 30 Oct 2006 09:36:33 +0000 (09:36 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Mon, 30 Oct 2006 09:36:33 +0000 (09:36 +0000)
commit2d5ecd2bb828ef6355c6f71875d4388169f1a809
treed2c65da72507860f3b2b3fd1d2b8c9d3c8890046
parentee319c6e83a1dd177bc5614b753eeff7185d26ee
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::string, lyx::IconvProcessor, std::less<std::string>, std::allocator<std::pair<const std::string, lyx::IconvProcessor> > >'
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