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:
Eelco Dolstra 2017-01-24 10:55:28 +01:00
parent 1102c77919
commit e5641dfe1e
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -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());
} }
} }