]> git.lyx.org Git - features.git/commitdiff
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)
 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

index 055dd7029df8878bbfd21b35b18967f6eddc4a25..d0cd8372ac3cba09b60f4935afd34621e3f4e2e1 100644 (file)
@@ -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_;