|
Boost Users : |
From: Christoph (christoph.duelli_at_[hidden])
Date: 2007-02-26 17:00:19
> You didn't get this before because the warned-about code is
> new wrt to the Boost 1.33.1 version. Could you please try the
> following: Replace lines 798-802 of ordered_index.hpp
>
> struct link_info
> {
> ordered_index_side side;
> ordered_index_node_impl* pos;
> };
>
> with
>
> struct link_info
> {
> link_info(){}
>
> ordered_index_side side;
> ordered_index_node_impl* pos;
> };
>
> Does this improve anything? BTW, the warning, again,
> does not reflect any actual problem with the code :(
No, no change. Which is not really a surprise, as the constructor does not
really initialize anything, right?
When I write link_info() : side(to_left) {}
the warning is gone.
Best regards, and thank you
Christoph
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net