weird warning turns out to be GCC 4.7.2 Bug 56402
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56402 The lambda definition captures the this pointer, but the ctor of the lamda does not initialise this capture. In our case, we're lucky, as we don't use the "this" pointer; otherwise, we'd get a crash a runtime. Fixed since GCC-4.7.3 --> it's *really* time to upgrade to Debian/Jessie
This commit is contained in:
parent
00dc968d7b
commit
f565ae4639
1 changed files with 1 additions and 1 deletions
|
|
@ -322,7 +322,7 @@ namespace diff{
|
||||||
{
|
{
|
||||||
return key == extractKey(elm);
|
return key == extractKey(elm);
|
||||||
});
|
});
|
||||||
}
|
} ///////////////////TODO this lambda triggers a GCC-4.7.2 Bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56402
|
||||||
|
|
||||||
|
|
||||||
friend bool
|
friend bool
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue