compile error from linked_hash_set::back() in release 1.1.2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MCT |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I get the following compile error when using 1.1.2 and linked_
In member function ‘typename mct::impl:
error.cpp:7: instantiated from here
./mct-1.
Here's the failing code:
#include <mct/hash-set.hpp>
int main()
{
mct:
lru.insert(5);
int foo = lru.back();
return 0;
}
The same code compiles and executes fine in version 1.0.0. The compiler is gcc version 4.1.2 20071124 (Red Hat 4.1.2-42).
Related branches
Changed in libmct: | |
status: | Fix Committed → Fix Released |
Thank you for the report. I committed a fix together with a few more tests catching this at compilation time.