Work around a bug in clang and older versions of gcc
http://hydra.nixos.org/build/46597440 https://llvm.org/bugs/show_bug.cgi?id=28096
This commit is contained in:
parent
1102c77919
commit
e5641dfe1e
|
@ -1246,7 +1246,7 @@ std::unique_ptr<InterruptCallback> createInterruptCallback(std::function<void()>
|
||||||
res->it = interruptCallbacks->end();
|
res->it = interruptCallbacks->end();
|
||||||
res->it--;
|
res->it--;
|
||||||
|
|
||||||
return res;
|
return std::unique_ptr<InterruptCallback>(res.release());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue