typo in wave/util/flex_string.hpp

20 Mar
2007
20 Mar
'07
3:56 p.m.
Surely this is a typo: ./boost/wave/util/flex_string.hpp:1644: warning: statement has no effect flex_string& append(const value_type* s, const size_type n) { Invariant checker(*this); checker;

20 Mar
20 Mar
9:41 p.m.
Neal Becker wrote:
Surely this is a typo: ./boost/wave/util/flex_string.hpp:1644: warning: statement has no effect
flex_string& append(const value_type* s, const size_type n) { Invariant checker(*this); checker;
This is taken as is from Andrei's code. I guess he inserted that to avoid the checker get's optimized away or to suppress some hyperfluid warning or such. I'm not sure what to do with this. Regards Hartmut
6662
Age (days ago)
6662
Last active (days ago)
1 comments
2 participants
participants (2)
-
Hartmut Kaiser
-
Neal Becker