aspell-0.60-20040416 bug in string_map.hpp

Karl Chen <[email protected]>
Newsgroups gmane.comp.gnu.aspell.devel
Message-ID <[email protected]>
I had to make the following change to get aspell 20040416 snapshot
to compile with gcc 3.3:


--- .backup/string_map.hpp.~1~	2004-02-15 11:31:20.000000000 -0800
+++ string_map.hpp	2004-04-23 16:33:42.000000000 -0700
@@ -47,7 +47,7 @@
   PosibErr<void> clear() {lookup_.clear(); buffer_.reset(); return no_err;}
   
   StringMap() : empty_str() {}
-  StringMap(const StringMap & other) {copy(other);}
+  StringMap(const StringMap & other) : empty_str() {} {copy(other);}
   StringMap & operator= (const StringMap & o) {clear(); copy(o); return *this;}
   ~StringMap() {}
   

-- 
Karl 2004-04-23 16:33
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.