Fix compilation error with g++ <= 4.3.
* src/misc/intvcmp2.cc (int_array_array_compression): Specify full type of stream_compression_base<int_array_array_compression> in constructor to please g++ versions <= 4.3.
This commit is contained in:
parent
ff43212e67
commit
fea61e9f51
2 changed files with 9 additions and 1 deletions
|
|
@ -1,3 +1,11 @@
|
|||
2011-05-05 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||
|
||||
Fix compilation error with g++ <= 4.3.
|
||||
|
||||
* src/misc/intvcmp2.cc (int_array_array_compression): Specify full
|
||||
type of stream_compression_base<int_array_array_compression> in
|
||||
constructor to please g++ versions <= 4.3.
|
||||
|
||||
2011-05-02 Alexandre Duret-Lutz <adl@va-et-vient.net>
|
||||
|
||||
DVE2: Minor memory compaction.
|
||||
|
|
|
|||
|
|
@ -268,7 +268,7 @@ namespace spot
|
|||
public:
|
||||
int_array_array_compression(const int* array, size_t n,
|
||||
int* dest, size_t& dest_n)
|
||||
: stream_compression_base(n),
|
||||
: stream_compression_base<int_array_array_compression>(n),
|
||||
array_(array), result_size_(dest_n),
|
||||
result_(dest), result_end_(dest + dest_n)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue