simongog/sdsl — pull request #13 by mpetri (2012-05-09 01:27:10+00:00)
Title: wt_int disk stream constructor

When I try to use this constructor I get an error message during compilation that sigma and tree are not initialized. For some reason I can't just call the wt_int() default constructor here. I get a weird compiler warning:

sdsl/wt_int.hpp:181:24: error: type ‘sdsl::wt_int<>’ is not a direct base of ‘sdsl::wt_int<>’

without the initialization I get this error:

sdsl/wt_int.hpp:180:9: error: uninitialized reference member ‘sdsl::wt_int<>::sigma’ [-fpermissive]
sdsl/wt_int.hpp:180:9: error: uninitialized reference member ‘sdsl::wt_int<>::tree’ [-fpermissive]